Line Chart with Multiple Lines
✓ Published0🌍 Public
This line chart compares profit by sub-category for different customer segments and regions. It shows multiple colored lines, each representing a region, plotted across sub-categories with profit values on the y-axis. The visualization uses D3 v5 APIs including `scaleLinear`, `scaleOrdinal`, `nest`, `line`, and `curveBasis` to aggregate and smooth the data. A color legend, built with `colorLegend`, identifies each region. The data, sourced from Data Canvas - Sense Your City, is loaded from a CSV and rendered as an SVG.
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