Skip to main content
100%

Bar Graph Example

✓ Published0🌍 Public
SSriyaI
Last edited May 20, 2023
Created on May 20, 2023
Forked from Draw on Map

This example creates an interactive map of India showing PM level markers for various cities. When a user clicks a marker, a popup displays a bar chart visualizing the PM level for that location. The map is built with Leafet.js, while D3.js handles both the SVG markers and the Canvas-based bar chart rendering. Marker data comes from a CSV file, and the bar chart is generated by a JavaScript function that draws directly onto the canvas element.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes