Fork of Line Chart
✓ Published0🌍 Public
This example displays a line chart of average US city rent prices from 2005 to 2022, using a red stroke to highlight the temporal trend. The visualization is rendered as an SVG using D3 v5, with `d3.scaleTime` and `d3.scaleLinear` mapping the x- and y-axes, and `d3.axisBottom` and `d3.axisLeft` generating the grid lines and tick labels. Data is loaded via `d3.csv` from a remote GitHub gist, and the line path is constructed with the `d3.line` generator. The chart includes labeled axes and a title, with the line itself drawn from parsed date and numeric rent values.
AI-generated descriptionMIT Licensed