Skip to main content
100%

Daily new cases of Covid in Italy - Scatter Plot

✓ Published0🌍 Public
Ttebanieo
Last edited Feb 17, 2023
Created on Feb 15, 2023
Forked from D3 Starter

This scatter plot displays daily new Covid cases in Italy, with time on the x-axis and provisioned write capacity units on the y-axis. It uses D3 v6 to load JSON data, parse timestamps with `d3.timeParse`, and render circles via SVG. The visualization includes an animated line path, toggleable with a button, and a brushX selection that updates the chart. The code leverages `d3.scaleTime`, `d3.scaleLinear`, and `d3.extent` for scaling and axis generation, with data sliced to the first 100 points.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes