MCPcopy Index your code
hub / github.com/Filsommer/rosencharts

github.com/Filsommer/rosencharts @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
55 symbols 138 edges 44 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Rosen - A React Charting Library

A lightweight and easy-to-use charting library built with D3.js and Tailwind. Just copy-paste the code and install the required dependencies to get started!

Installation

First, install D3.js by running:

npm install d3

If you're using TypeScript, install the D3 types as well:

npm install --save-dev @types/d3

Usage

Simply copy and paste the provided charting code into your project and ensure that D3.js is installed.

Features

  • Simple copy-paste integration
  • Uses D3.js for powerful and flexible charting
  • Works with JavaScript and TypeScript

License

MIT

Extension points exported contracts — how you extend this code

ExtendedHierarchyNode (Interface)
(no doc)
treemap-charts/2_TreemapChartImages_DIV.tsx
ExtendedHierarchyNode (Interface)
(no doc)
treemap-charts/3_TreemapChartGradient_DIV.tsx

Core symbols most depended-on inside this repo

useTooltipContext
called by 2
helpers/ClientTooltip.tsx
getTooltipPosition
called by 1
helpers/ClientTooltip.tsx
computeAngle
called by 1
pie-charts/1_PieChart.tsx
computeAngle
called by 1
pie-charts/5_DonutChartCenterText.tsx
computeAngle
called by 1
pie-charts/3_PieChartLabels.tsx
computeAngle
called by 1
pie-charts/4_DonutChart.tsx
computeAngle
called by 1
pie-charts/2_PieChartStocks.tsx
computeAngle
called by 1
pie-charts/6_DonutChartHalf.tsx

Shape

Function 53
Interface 2

Languages

TypeScript100%

Modules by API surface

helpers/ClientTooltip.tsx4 symbols
treemap-charts/3_TreemapChartGradient_DIV.tsx2 symbols
treemap-charts/2_TreemapChartImages_DIV.tsx2 symbols
pie-charts/6_DonutChartHalf.tsx2 symbols
pie-charts/5_DonutChartCenterText.tsx2 symbols
pie-charts/4_DonutChart.tsx2 symbols
pie-charts/3_PieChartLabels.tsx2 symbols
pie-charts/2_PieChartStocks.tsx2 symbols
pie-charts/1_PieChart.tsx2 symbols
treemap-charts/1_TreemapChart_DIV.tsx1 symbols
scatter-charts/6_ScatterChartStocks.tsx1 symbols
scatter-charts/5_ScatterChartMulticlass.tsx1 symbols

For agents

$ claude mcp add rosencharts \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact