MCPcopy Index your code
hub / github.com/benjypng/logseq-chartrender-plugin

github.com/benjypng/logseq-chartrender-plugin @v2.0.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.4 ↗ · + Follow
19 symbols 36 edges 21 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

:gift_heart: Sponsor this project on Github or :coffee: Get me a coffee if you like this plugin!

Overview

Create pie, line, bar, area, stacked bar and percentage-bar charts using block data. Allows changing of chart type and colours on the fly!

Do look at the videos below to see how it works.

Usage

Each chart is rendered by passing 3 variables <type of chart> <colour> <width>.

Examples:

pie red 400

bar blue 300

line green 500

area gray 350

Credits

Recharts

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 12
Interface 7

Languages

TypeScript100%

Modules by API surface

src/interfaces.ts7 symbols
src/utils/transform-raw-chart-data.ts1 symbols
src/utils/scaffold-db-graph.ts1 symbols
src/utils/get-stable-id.ts1 symbols
src/utils/get-logseq-data.ts1 symbols
src/index.tsx1 symbols
src/components/Pie.tsx1 symbols
src/components/Line.tsx1 symbols
src/components/Legend.tsx1 symbols
src/components/CustomTooltip.tsx1 symbols
src/components/CustomPieTooltip.tsx1 symbols
src/components/ChartContainer.tsx1 symbols

For agents

$ claude mcp add logseq-chartrender-plugin \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page