Untitled
✓ Published0🌍 Public
This example shows a time-series area chart of FRED economic data, with dates parsed from a CSV file and mapped to a time scale on the x-axis while values map to a linear y-axis. The visualization uses D3 v7’s `d3.area`, `d3.scaleTime`, and `d3.scaleLinear` to generate the filled region, with axes rendered via `d3.axisBottom` and `d3.axisLeft`. The SVG is drawn inside a React-based HTML page, using a responsive `viewBox` and `preserveAspectRatio` for scaling.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed