ice07 - linechart
✓ Published0🌍 Public
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 descriptionMIT Licensed