Skip to main content
100%

Fork of Re-doing Reusable Scatterplot 101 with my data with Line

✓ Published0🌍 Public
AAlex
Last edited Apr 11, 2023
Created on Apr 11, 2023

This example visualizes a time series of percentage values from 1986 to 2021 as a scatterplot with a connecting line. A D3 reusable chart module creates a time-scaled x-axis and linear y-axis, using `scaleTime()` and `scaleLinear()` to position circles and a line path generated with `line()` from the d3 library. The data is manually defined as arrays of years and percentages, converted into date objects, and rendered as SVG with axes.

AI-generated description
MIT Licensed

Similar vizzes