Fork of Hello VizHub
✓ Published0🌍 Public
This example displays a table of usernames fetched from a local `accounts.json` file, while also attempting to update SVG text elements with the same data. The code uses D3 v5’s `json` method to load the data and the `select` API to target the SVG, although the text rendering is incomplete because the SVG selection targets elements that do not exist in the markup. Usernames are inserted into an HTML table via string concatenation and `innerHTML`. The visualization relies on D3’s data-joining capabilities but does not fully demonstrate them.
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