Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Map

Public visualization

World Map

0 stars0🌍 Public
AAlex Jiasheng Ni
Last edited Jan 20, 2021
Created on Jan 20, 2021

This world map visualization renders geographic data as an SVG using D3.js v5. It draws the map with the `d3.geoPath` projection and loads external JSON data via `d3.json`. The page initializes an empty SVG canvas with fixed dimensions, while global styling sets the body margin to zero for a full-viewport display. The code demonstrates basic DOM selection and attribute manipulation in D3, though the actual map geometry and data source are not fully implemented in the visible files.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

Comments

Sign in to join the discussion.

MIT Licensed