Skip to main content
100%

Project_Line_Chart

✓ Published0🌍 Public
Aanushapodapati99@gmail.com
Last edited Apr 18, 2024
Created on Apr 18, 2024
Forked from FP: Line Chart

This visualization tracks wheat production over time for various Indian states, using a multi-line chart where each colored line represents a state's annual output in tons. The chart displays a y-axis labeled "Production (tons)" and an x-axis labeled "Year," with key data points labeled directly at the end of each line. Built with D3.js, the code merges two CSV datasets from the author's GitHub repository—crop production and district-level data—filtering for wheat and mapping year and production values. The visualization uses `scaleTime` for the time axis, `scaleLinear` for the production axis, and the `line` generator to draw each state's trend line with `schemeCategory10` for color encoding.

AI-generated description
MIT Licensed

Similar vizzes