line chart Saranya
✓ Published1🌍 Public
A multi-line chart displays annual net forest conversion for Peru, Ecuador, and Colombia from 1990 to 2015, with each country shown as a colored line with a label legend. The visualization uses D3 v5 with d3.line, d3.scaleTime, and d3.scaleLinear to map years and forest values, while d3.nest groups the CSV data by country. SVG paths render the lines, and hover tooltips reveal the country name. The chart reads data from a local CSV file and uses d3.schemeCategory10 for color assignment.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also [React Starter] https://gist.githubusercontent.com/MalempatiSaranya/c79e904a6f94259b27e331d9588b6239/raw/054ec9057e567113d77d4f10ebb118a6cf91b720/forest%2520.csv
MIT Licensed