Skip to main content
100%

Activity8_Task4

✓ Published0🌍 Public
Rrikhitakoganti12
Last edited Jul 5, 2023
Created on Jul 5, 2023

This area chart visualizes the cost of sales from 2000 to 2013, using a smooth curve to connect annual data points and a light green fill beneath the line to emphasize the trend. The visualization is built with D3 v5, employing `scaleTime` and `scaleLinear` for axes, along with `line` and `area` generators with `curveBasis` to create the smooth path. Data is loaded from a CSV via `d3.csv`, parsed into `Date` and numeric cost values, and rendered as an SVG with styled axis labels and tick marks.

AI-generated description

example of Area chart

MIT Licensed

Similar vizzes