🌍 Public
Viewing a saved revision (read-only)
4d8fe4310d5a4acd8699ea8e1ec50308
Weather Dataset Loading
This example demonstrates loading a weather dataset from a local CSV file and displaying its contents as raw JSON text. The visualization initially shows a loading state before fetching the data, then parses the CSV into an array of objects using D3’s `csvParse` function. The viewed data includes daily measurements such as temperature in Celsius, Kelvin, and Fahrenheit, precipitation in millimeters, and wind speed in kilometers per hour, for an unknown location. D3’s `select` and `join` methods are used to render the parsed data within an HTML `<pre>` element.
AI-generated description