Fork of Line Chart ice-7
✓ Published0🌍 Public
This example displays Honda stock prices over time as a red line chart, with the year on the x-axis and stock price on the y-axis. It uses d3.scaleTime and d3.scaleLinear to map the data, with d3.axisBottom and d3.axisLeft generating labeled ticks. The data is loaded from a CSV file using d3.csv and parsed with d3.timeParse. The chart is rendered as an SVG, with a line generator from d3.line drawing the path, and gridlines created via tickSize.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed