Assignment 7 Multi-Line Time Series Plot
This multi-line time series plot shows the average prices of four gourd varieties—bottle, bitter, smooth, and snake gourd—in Nepal over time, with each commodity distinguished by color. The visualization first filters the CSV data to these four categories, then groups the records by commodity using `d3.group`. It renders separate SVG paths via the `d3.line` generator, with a time-scaled x-axis and a linear y-axis for price in NPR. A color legend, created with the `d3-legend` library’s `legendColor` function, identifies each line, while axes are generated using `d3.axisBottom` and `d3.axisLeft`. The data comes from a remote CSV file, and the chart is drawn entirely with SVG.
AI-generated descriptionCS 360 Assignment 7 Time Series With
Annie Huynh
CSV URL:https://raw.githubusercontent.com/Ahuynh111/gist-practice/main/fvPrices.csv
Note: Different data set from previous assignments