Skip to main content
100%

Line Plot with menu

✓ Published0🌍 Public
TThiago Carvalho
Last edited Oct 9, 2020
Created on Oct 9, 2020

This line plot displays price trends over time for multiple commodities, with a dropdown menu allowing users to select which price column to visualize. The chart uses an SVG rendered with D3 v5, employing scales, axes, and a line generator with basis curve interpolation. Data is loaded as CSV from a remote URL, parsed with date and numeric formatting, and rendered through reusable dropdownMenu and scatterPlot modules. The dropdown menu dynamically updates the y-axis based on user selection.

AI-generated description
MIT Licensed

Similar vizzes