🌍 Public
Viewing a saved revision (read-only)
b606537c815b490eacb0cae2b135d3ce
Tamponi sardegna: Rapporto pcr/positivi - line chart 7 mesi
This visualization shows a seven-month line chart tracking the percentage of positive PCR tests in Sardinia, Italy, with data sourced from the Italian government's regional COVID-19 dataset. The React-based chart uses d3.scaleTime and d3.scaleLinear to map dates and percentages, while d3.line with curveNatural renders the smooth path. Each data point is marked with an SVG circle that includes a hover tooltip via the title element, and axes are generated using custom React components that leverage d3's scale ticks for positioning.
AI-generated descriptionStylized line chart demonstrating how to work with time. Data: