🌍 Public
Viewing a saved revision (read-only)
a8c91a061feb4fa7822b9bc5ccd3457c
hosting external data
DDonald Bagwell
Last edited Apr 19, 2024
Created on Apr 19, 2024
This example demonstrates how to load and fetch external data from a GitHub URL using the d3.csv API, then logs the number of rows to the console. The visualization uses D3.js to parse comma-separated values from an HMP155A meteorological sensor file containing timestamps and environmental measurements such as temperature and humidity. The code includes commented-out scatter plot logic that reads from a district-level dataset, defining scales with scaleLinear and extent, drawing circles with SVG, and rendering axes via the @drbagwell/responsive-viz-axes library. The final SVG rendering approach is standard D3, though the active example stops at data retrieval.
AI-generated description