Skip to main content
100%

sample 2

✓ Published0🌍 Public
YYeshwanth963@gmail.com
Last edited Apr 24, 2024
Created on Apr 24, 2024
Forked from Hello VizHub

This scatter plot visualizes global warming trends by plotting annual temperature anomalies against years. The code loads a CSV dataset from a GitHub repository, converts the year and temperature strings to numbers, and renders them as semi-transparent steelblue circles. It uses D3 v7’s `scaleLinear`, `d3.extent`, `d3.axisBottom`, and `d3.axisLeft` to map data to SVG coordinates and draw axes. The resulting chart highlights the relationship between time and temperature change, with labeled axes for year and temperature in degrees Celsius.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes