Fork of Stylized Line Chart
✓ Published0🌍 Public
This example shows a line chart drawn from the world-atlas TopoJSON dataset, rendering country boundaries as a continuous curved path using D3's `line` and `curveNatural` functions. The path is styled with a teal stroke and no fill, creating a stylized visual of the world map. The React component loads the geographic data via `useData`, which fetches the TopoJSON and converts it to GeoJSON with `topojson.feature`, then passes it to the `Marks` component for SVG rendering. The chart currently has circle-mark rendering commented out, leaving only the black-outlined path visible.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.
MIT Licensed