Gist 473f153bb8e97062f0f4696aebe7a22c
✓ Published0🌍 Public
MMbrownshoes
Last edited Jun 15, 2018
Created on Jun 15, 2018
This example shows a time-series line chart of oceanographic measurements from the Hakai Quadra station, pulling data via a JSON request to ERDDAP. It plots a single variable against time using a date-parsed x-axis and linear y-axis. The code uses d3.json to load rows from the ERDDAP table, d3.utcParse for ISO timestamps, and d3.line with d3.scaleTime and d3.scaleLinear to render the path. Axes are drawn with d3.axisBottom and d3.axisLeft, with the line styled in steelblue.
AI-generated description