Fork of Hello VizHub
✓ Published0🌍 Public
This example displays a "Hello VizHub!" message centered on the page. It demonstrates loading D3 via a CDN and using the `select` function from d3.v5 to set the text content of a div. The code also imports a local ES6 module for the message and fetches population data from a GitHub-hosted CSV, processing the ’20 column and slicing the first 30 rows. The visualization is built with React’s `useState` and `useEffect` hooks to manage the data loading state.
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