🌍 Public
Viewing a saved revision (read-only)
d19e762f1e074c0cab196797c9e926ad
Fork of Stylized Line Chart
This example visualizes insurance charges against age, mapping the records from Data Canvas Sense Your City and insurance datasets into a single line chart. The React application loads CSV data with d3.csv, then scales the x and y axes with d3.scaleLinear and extent, while applying a natural curve via d3.line’s curveNatural to render the path as an SVG stroke. Axis components generate tick marks and labels using d3’s scale methods, and the chart is styled with Poppins font and muted grays and blues.
AI-generated descriptionA line chart of Data Canvas Sense Your City Dataset.