🌍 Public
Viewing a saved revision (read-only)
47374dd9e8ed424fb01adc7ce22f0a09
dv_project
This example presents five coordinated crime data visualizations—a scatter plot, stacked bar chart, heat map, line graph, and pie chart—rendered as SVGs using D3 v7. It loads CSV data from a GitHub gist and demonstrates multiple D3 APIs including `d3.csv`, `d3.scaleLinear`, `d3.scaleBand`, `d3.scaleOrdinal`, `d3.stack`, `d3.group`, `d3.rollup`, and `d3.axisBottom`. The scatter plot maps longitude and latitude coordinates, while the stacked bar and heat map show top offense categories by year using `d3.schemeCategory10` and `d3.interpolateBlues` color scales.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.