Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Plot with menu

Public visualization

Line Plot with menu

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed