Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
JJacobRozak
Last edited Mar 23, 2023
Created on Mar 22, 2023
Forked from D3 Starter

This visualization demonstrates a stacked area chart displaying the quantities of apples, bananas, and oranges over three months in 2018. The chart uses D3 v7 with SVG rendering, employing `d3.stack`, `d3.area`, `d3.scaleTime`, `d3.scaleLinear`, and `d3.scaleOrdinal` to generate and color the layered paths. Data is hardcoded as an array of objects containing month dates and fruit counts. The result shows three distinct colored areas representing each fruit’s contribution to the total count over time, with red, yellow, and orange fills.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes