Data visualization made easy.
An open-source TypeScript library that extends D3 to create beautiful, interactive visualizations with minimal configuration. Tooltips, color assignments, label placements, and more, all handled automatically.
const config = {
data: [
{id: "alpha", value: 29},
{id: "beta", value: 10},
{id: "gamma", value: 2},
{id: "delta", value: 29},
{id: "eta", value: 25},
],
groupBy: "id",
sum: "value",
};
Install
Section titled “Install”Pick your framework; the examples across the site follow your choice.
npm install @d3plus/coreOr load the bundle from a CDN, which defines a global d3plus:
<script src="https://cdn.jsdelivr.net/npm/@d3plus/core"></script>npm install @d3plus/reactnpm install @d3plus/vuenpm install @d3plus/svelte @d3plus/corenpm install @d3plus/elementnpm install @d3plus/angular @d3plus/coreChart types
Section titled “Chart types”Every chart takes the same kind of configuration object.
- Alluvial
- Arc Diagram
- Area Plot
- Bar Chart
- Beeswarm
- Box Whisker
- Bubble Chart
- Bullet
- Bump Chart
- Calendar
- Candlestick
- Chord
- Donut
- Dumbbell
- Fan Chart
- Funnel
- Gantt
- Gauge
- Geomap
- Hexbin
- Histogram
- Icicle
- Line Plot
- Lollipop
- Marimekko
- Matrix
- Network
- Pack
- Parallel Coords
- Pie
- Polar Area
- Priestley
- Pyramid
- Radar
- Radial Bar
- Radial Matrix
- Ridgeline
- Rings
- Sankey
- Scatter
- Slope Chart
- Stacked Area
- Streamgraph
- Sunburst
- Tree
- Treemap
- Violin
- Waffle
- Waterfall