Skip to main content
100%

Working with time

✓ Published1🌍 Public
DDanier
Last edited Sep 18, 2021
Created on Sep 18, 2021

This example visualizes temperature readings over a week in San Francisco, plotting each observation as a circle on a time-scaled x-axis and a linear temperature y-axis. React renders the SVG scene, while D3 v5’s `scaleTime`, `scaleLinear`, and `extent` handle scaling and domains; `timeFormat` labels days. The CSV data is loaded via `d3.csv`, and custom AxisBottom, AxisLeft, and Marks components generate ticks and circles with tooltips showing the day.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes