Skip to main content
100%

Line Chart

✓ Published0🌍 Public
CCH SAMPATH
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from ICE-7 Line Chart

This line chart tracks the annual sales of houses in the United States from 2009 to 2022, with years on the x-axis and the number of homes sold on the y-axis. The visualization uses D3 version 5, rendering as an SVG. It employs `d3.scaleTime` and `d3.scaleLinear` for the axes, while `d3.line` with a basis curve generates the smoothed trend line. The data is loaded from a CSV file hosted in a GitHub gist, featuring red strokes, bold labels, and a centered title.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes