Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SC Counties

Public visualization

Viewing a saved revision (read-only)

eb6f36321d47462990d0fe14a22b2961

SC Counties

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

This example renders a choropleth map of US counties from TopoJSON data using D3 v5 and the `d3.geoPath` API. Each county is drawn as an SVG path, colored blue by default, with red highlighting for counties whose ID matches `'06'`, and tooltips via appended `title` elements. The map loads external US county geometry from a remote URL, while `topojson.feature` converts the data for rendering in an SVG container.

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.