js tutorial
✓ Published0🌍 Public
This example demonstrates how to load and display local data in a VizHub project using D3 and modern JavaScript modules. It imports a cars dataset from a local ES6 module, parses JSON, and writes the first car’s make to an HTML `<pre>` element via `document.getElementById`. The visualization relies on D3 loaded from UNPKG, showcasing basic import syntax and DOM manipulation without any chart rendering.
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