Skip to main content
100%

js tutorial

✓ Published0🌍 Public
JJustin Epstein
Last edited Mar 3, 2022
Created on Mar 3, 2022
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes