Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

US Foreign Aid globally in context with Israel

Public visualization

Viewing a saved revision (read-only)

4e77ee0a636d40a3aa89c4cb3c10238a

US Foreign Aid globally in context with Israel

0 stars1🌍 Public
Ggmemail3@gmail.com
Last edited May 13, 2024
Created on May 6, 2024
Forked from Choropleth

This visualization pairs a choropleth world map with a scatter plot to explore U.S. foreign aid, with Israel as the baseline. Users click countries on the map to add their aid data points to the plot, enabling direct comparison of aid amounts against Israel's over time. The map’s color scale encodes total military aid since 1946, while the scatter plot plots each country’s annual aid, using `d3.geoEqualEarth` for projection, `d3.geoPath` for map rendering, and `d3.scaleThreshold` for the color bins. The interface supports adding multiple countries, and clicking an already-plotted country resets the view to Israel and that selection.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.