Causes of Air pollution in Geneva
✓ Published1🌍 Public
NNita
Last edited Dec 24, 2020
Created on Dec 22, 2020
This visualization uses a Sankey diagram to trace the causes of air pollution in Geneva, linking broad categories like air and local traffic to specific contributing factors such as commuter traffic and polluting vehicles. The diagram emphasizes the flow of influence between nodes, with thicker links representing stronger connections. Built with D3.js v5, the code loads data from a JSON file and implements a custom sankey layout to position nodes and calculate link widths. The SVG rendering supports interactive dragging of nodes to explore the network dynamically.
AI-generated descriptionAir pollution data for Geneva
MIT Licensed