Skip to main content
100%

Daily new cases of Covid in Italy (Episode 8)

✓ Published1🌍 Public
Ccssergio
Last edited Jun 8, 2022
Created on Jun 4, 2022
Forked from JS in HTML

This example visualizes daily new COVID-19 cases in Italy alongside intensive-care admissions, using an SVG chart rendered with D3 v6. The x-axis shows time as a date scale, the y-axis plots new positive cases linearly, and the circle radius encodes intensive-care patients via a square-root scale. The code fetches a CSV from the Italian government’s GitHub repository and parses numeric fields. Interactive buttons toggle the visibility of the line and circle elements, demonstrating simple display toggling through D3’s selection API.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes