Fork of Selecting a Year on a line chart
✓ Published0🌍 Public
This example shows a fork of a line chart that selects a year to display. It reads movie data from a CSV file, parsing the date and count columns, and renders the visualization as an SVG. The code uses d3.csv for data loading, d3.scaleTime and d3.scaleLinear for axes, and d3.line with curveBasis to draw the line. It is built within a React framework, though the current implementation focuses on data preparation and chart setup.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed