Skip to main content
100%

Area Chart Activity 8

✓ Published0🌍 Public
UUVarshaReddy
Last edited Jul 9, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

This area chart displays the cost of sales from 2000 to 2013, using a smooth curve to connect data points and a light green fill beneath the line to emphasize the area. The visualization is rendered as an SVG using d3.v5, with axes, tick labels, and a rotated axis label styled via CSS. Data is loaded from a CSV file and parsed into Date objects for the time-scaled x-axis, while the y-axis uses a linear scale. The chart is built using d3's scaleTime, scaleLinear, line, area, and curveBasis functions.

AI-generated description
MIT Licensed

Similar vizzes