Skip to main content
100%

Fork of Selecting a Year on a line chart

✓ Published0🌍 Public
NNeepaB
Last edited Feb 16, 2021
Created on Feb 16, 2021

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes