Skip to main content
100%

Activity7_question2

✓ Published0🌍 Public
Vvenkatdinesh5010@gmail.com
Last edited Apr 6, 2025
Created on Apr 6, 2025
Forked from Hello VizHub

This example shows monthly sales data as a blue area chart with labeled axes for month and sales. It uses D3.js v7 with an SVG rendering approach. The code loads comma-separated values from a GitHub Gist, then applies `d3.scalePoint` for the categorical x-axis and `d3.scaleLinear` for the numeric y-axis. A `d3.area` generator produces the filled region, while `d3.axisBottom` and `d3.axisLeft` create the tick marks and labels. Axis titles are added as SVG text elements.

AI-generated description
MIT Licensed

Similar vizzes