Activity8_Task5_CountryMap
✓ Published1🌍 Public
This example displays a map of Australia rendered as an SVG using D3.js v5 and TopoJSON data from the world-atlas package. It uses the `d3.geoMercator` projection and `d3.geoPath` to draw the country’s outline onto a 960×500 canvas. The code fetches geographic data via `d3.json`, selects the Australia feature from the TopoJSON, and appends the path to the page.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed