Skip to main content
100%

d3.js learning

✓ Published0🌍 Public
JJoelGallagher
Last edited Jun 7, 2019
Created on Jun 7, 2019

A stacked bar chart shows the annual production of four fruit varieties—Red Delicious apples, McIntosh apples, Naval oranges, and Anjou pears—from 2006 to 2016. The chart uses d3.v3’s `d3.layout.stack` to flatten the time-series data into cumulative layers, with axes drawn via `d3.svg.axis` and an ordinal time scale for the x-axis. SVG rectangles for each segment include mouseover tooltips displaying individual values, and a legend identifies the color-coded fruit types.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes