Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of ice7_2

Public visualization

Viewing a saved revision (read-only)

808a8ce78b13464585b3c1cf5642a3d5

Fork of Fork of ice7_2

0 stars1🌍 Public
Kkanaparthieshitha@gmail.com
Last edited Mar 29, 2026
Created on Mar 29, 2026
Forked from Fork of ice7

This example shows a line chart of revenue aggregated by product category from a CSV dataset. D3.js (v7) loads the data, rolls up categories, and sums their revenue. It renders an SVG with axes, a steelblue polyline, and orange data points. The code uses `d3.scalePoint`, `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.line` to draw the visualization.

AI-generated description