Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Working filters of Line Chart

Public visualization

Viewing a saved revision (read-only)

1c626edd97234c17b643aae18a488cd3

Working filters of Line Chart

0 stars1🌍 Public
GGayan Priyadarshana
Last edited Aug 3, 2023
Created on Aug 3, 2023
Forked from Line Chart

This line chart displays average closing prices over time, with a dropdown menu to filter the data by product category. The visualization uses React state management to handle the product selection and dynamically update the filtered dataset. Built with D3 v5, it employs `scaleTime`, `scaleLinear`, and `line().curve(curveNatural)` to render the SVG path, while the data is loaded from a CSV file using `d3.csv`.

AI-generated description

Working with time