HTML and D3 test
✓ Published0🌍 Public
This example displays a line chart of time-series data, plotting ground motion against time from a local text file. The visualization uses D3.js v6 to load and parse the data, then creates linear scales and SVG axes to map the values. A D3 line generator defines the path, which is rendered as a black stroke on an SVG element within a React-based HTML page. The chart’s dimensions and margins are set explicitly, with the x-axis representing time and the y-axis representing ground motion values.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed