Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice07 - linechart

Public visualization

ice07 - linechart

0 stars0🌍 Public
LLaasyaJ256
Last edited Mar 30, 2026
Created on Mar 30, 2026
Forked from React & D3 Starter

This line chart displays sales trends across product categories, with total sales on the y-axis and categories on the x-axis. Using d3.csv with autoType, it loads retailer data from a GitHub gist and aggregates sales per category via d3.rollups and d3.sum. The line is drawn with d3.line, while d3.scalePoint and d3.scaleLinear handle positioning; circles mark each data point. Axes are rendered using d3.axisBottom and d3.axisLeft, with SVG output and a purple stroke for the line.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed