Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of SC4

Public visualization

Viewing a saved revision (read-only)

5d09f13a4b9747708140d5d700d56afc

Fork of SC4

0 stars1🌍 Public
Bbepnye@gmail.com
Last edited May 7, 2024
Created on May 7, 2024
Forked from SC4

This map of South Carolina shows the number of grain elevators in each county via a diverging color scale from light yellow to dark red. Hovering over a county highlights it in dark blue and displays a tooltip with the county name and elevator count. The visualization loads D3 v6 from a CDN, uses `d3.geoMercator` and `d3.geoPath` to project and draw GeoJSON county boundaries, and joins that with CSV data. Interactivity relies on SVG path mouse events and a custom tooltip div managed through `d3.select`.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.