Skip to main content
100%

Let's make a face with D3.js!

✓ Published0🌍 Public
LLonwabo11
Last edited May 31, 2019
Created on May 29, 2019

This example shows a multi-line chart of temperature readings over time, using a dataset of hourly measurements from the Lesedi telescope site. The visualization is built with D3.js v5 and rendered as SVG, featuring a timeline axis, gridlines, and a color legend mapping each line to a data category. The code demonstrates core D3 APIs including `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, `line`, `nest`, and a custom `colorLegend` component, with data loaded via `csv` and parsed into `Date` objects for the time scale.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes