Plotting points on a map with D3.js

Опубликовано: 18 Февраль 2026
на канале: Read Write Exercise
9,104
55

Based on code from an Observable notebook, we'll use D3.js to dynamically show circles on a map of the United States.

Observable Notebook: https://observablehq.com/@bradydowlin...

0:00 Introduction
0:40 Add new page to index.html
1:29 Create initial SVG element
2:29 Draw US map and state borders
6:31 Append state capital group elements
10:25 Adding circle elements to an SVG node
11:42 Add state capital text
13:08 Apply attributes to text