MULTILINE CHART
✓ Published0🌍 Public
This multiline chart compares profit across sub-categories for different regions, with each region represented by a distinct colored line. The visualization uses d3.nest() to group data by region and d3.line() with curveBasis to generate smooth paths, while d3.scaleOrdinal with schemeCategory10 assigns colors. A custom colorLegend component renders the region labels. Profit values are parsed from a CSV file containing sample sales data, and the chart includes axes with gridlines, a title, and axis labels.
AI-generated descriptionThis line chart shows one week of temperature (in degrees Celcius) in cities around the world. The data comes from Data Canvas - Sense Your City.
MIT Licensed