-
Book Overview & Buying
-
Table Of Contents
Learn D3.js - Second Edition
By :
NASA’s Goddard Institute for Space Studies (GISS) is a laboratory in New York City that regularly publishes data and studies related to climate change. One of the most popular public databases available on the GISS website is the average monthly measurements of temperature anomalies between 1880 and 2024. In the following tutorials, we will display this data as Cartesian and radial line charts.
The first tutorial uses a Cartesian system to plot temperature lines for each year. Since there are many overlapping lines, the chart should be interactive so the user can distinguish one year from the others. Figure 11.20 shows the effect when the user hovers over the line for 2023.
Figure 11.20 – A multi-series line chart showing global temperature variation from 1880 to 2025 (source: data.giss.nasa.gov/gistemp). Code: StepByStep/cartesian/final
The second tutorial plots the same data as a spiral in...