Multiple Line Chart of employmentrate
✓ Published1🌍 Public
This visualization shows employment rate ratios over time for multiple cities, with each city represented as a colored line. The chart uses d3.line with a curveBasis smoothing function, d3.scaleTime and d3.scaleLinear for the x and y axes, and d3.scaleOrdinal with schemeCategory10 for color mapping. Data is loaded from a CSV file using d3.csv, nested by city with d3.nest, and rendered as SVG paths. A custom colorLegend function displays the city names, while gridlines and axis labels are generated using d3.axisLeft and d3.axisBottom.
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