Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Creating face with D3

Public visualization

Creating face with D3

0 stars0🌍 Public
Gglitched-potato
Last edited Feb 28, 2021
Created on Feb 20, 2021
Forked from Hello VizHub

A D3 visualization renders annual temperature anomaly data from a CSV file as a series of rectangles. The code imports `select`, `csv`, `scaleLinear`, and `max` from D3, and uses an SVG container. The `scaleLinear` function defines an x-axis domain based on the maximum year in the dataset, though the scale's range is not set. The rectangles are appended to the SVG with fixed width and height of 300 pixels, without being positioned or bound to the data values.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed