Skip to main content
100%

Assignment 2_Q2

✓ Published0🌍 Public
Ddineshreddy.ravula@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from assignment2-q2

This area chart visualizes annual sales data over time, with a blue filled region under a line that tracks the sales figures across different years. The chart is built using D3 version 7 and renders as an SVG. It loads data from a remote CSV file using `d3.csv` and constructs the visualization by applying a band scale for the x-axis (Year) and a linear scale for the y-axis (Sales). The area is generated with `d3.area`, while axes and labels are added via `d3.axisBottom`, `d3.axisLeft`, and text elements.

AI-generated description
MIT Licensed

Similar vizzes