π Public
Final Project Timeline Chart
This visualization uses a line chart to display the average crop yield in bushels per acre for Barley, Corn, and Oat over a timeline from the FarmingInformation.csv dataset. The code employs the d3.v6 library, using `d3.scaleTime` and `d3.scaleLinear` for the axes, a `d3.line` generator for the paths, and `d3.schemeTableau10` for the color scale. The chart is rendered as an SVG, with the data grouped by crop type and a legend from the d3-legend library added to distinguish the categories.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.