Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SC Counties2

Public visualization

Viewing a saved revision (read-only)

ee5fd8a22f5f40cb9118c961b649ad5f

SC Counties2

0 stars0🌍 Public
Ooliverkendall99@gmail.com
Last edited May 1, 2024
Created on May 1, 2024
Forked from Circles

This example displays a choropleth map of South Carolina counties, coloring each county blue or red based on whether its ID matches the value "06". It renders the GeoJSON data as SVG paths using D3's `geoPath()` projection. The code loads D3 via UNPKG, fetches geographic data from a raw GitHub GeoJSON URL, and demonstrates importing from local ES6 modules alongside D3's `select` API.

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.