Skip to main content
100%

d3.js learning

✓ Published0🌍 Public
OOhayouKaminari
Last edited Feb 23, 2020
Created on Feb 23, 2020
Forked from Test

This example demonstrates a stacked bar chart built with D3.js, visualizing changes in fruit production (apples, oranges, and pears) over multiple years. The chart uses D3’s `d3.layout.stack` to create the stacked series, `d3.scale.ordinal` for the x-axis, and `d3.svg.axis` for the axes. Hovering over a bar segment reveals a tooltip displaying the exact value. The chart is rendered as SVG, with a legend identifying each fruit series and colors assigned to each category.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes