Skip to main content
100%

Line chart for electronic sales

✓ Published0🌍 Public
Ssreeramyamini@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from Line Chart

This line chart visualizes total sales across product categories, using a filled area beneath a steel-blue line to emphasize the trend. Built with D3 v7 and rendered as an SVG, the chart loads CSV data from a GitHub gist and converts sales values from currency strings to numbers. It uses `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.line` and `d3.area` to generate the paths.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes