恐怖主义伤亡数(1979-2018)
This interactive visualization presents global terrorism casualties from 1979 to 2018, combining a world map with a linked time-series bar chart. Bubble sizes on the map encode the total dead and missing for each incident, while brushing across the date histogram filters the map to show only incidents within the selected period. The map uses d3.geoNaturalEarth1 with d3.geoPath for country boundaries and graticules, while the histogram applies d3.bin and d3.brushX. Data comes from a CSV file with approximate coordinates. React and D3 v5 render all elements as SVG, with useMemo optimizing performance.
AI-generated descriptionThe final installment from the online course Datavis 2020.
A world map showing cities with population greater than 50,000. City data from Simplemaps: World Cities Database.
Country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.
This iteration is optimized for performance using React's useMemo hook.