Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line chart for electronic sales

Public visualization

Viewing a saved revision (read-only)

29b626e6ba49453dabfd6250ab496d9b

Line chart for electronic sales

0 stars0🌍 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