Skip to main content
100%

line_chart

• Draft2🔗 Unlisted
Ttadisatishreddy2000@gmail.com
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Bar_Plot

This example shows yearly patient counts for multiple hospitals as interactive line charts. Users select hospitals via checkboxes, and the chart updates to display a colored line for each selected hospital, with year on the x-axis and number of patients on the y-axis. The visualization uses D3.js v7 with SVG rendering, employing `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.line` to build the chart. Data is loaded from a CSV file, and checkboxes are generated dynamically from the dataset's hospital names.

AI-generated description
MIT Licensed

Similar vizzes