Skip to main content
100%

Fork of Area Chart Activity 8

✓ Published0🌍 Public
Rrushithareddyy
Last edited Jul 14, 2023
Created on Jul 14, 2023

This area chart visualizes the cost of sales from 2000 to 2013 using a smooth basis-curved line and a light green filled region beneath it. The SVG rendering leverages d3.scaleTime and d3.scaleLinear for axes, with d3.axisBottom and d3.axisLeft providing tick marks, while d3.line and d3.area generators with curveBasis create the path. Data is loaded via d3.csv from a GitHub gist, parsed into dates and numeric costs, and styled with custom CSS for colored axis labels and ticks.

AI-generated description

example of Area chart

MIT Licensed

Similar vizzes