Skip to main content
100%

Car report

✓ Published1🌍 Public
Ggvsiena
Last edited Apr 30, 2021
Created on Apr 30, 2021
Forked from Hello VizHub

This example demonstrates how VizHub can load D3 and use ES6 modules to create a simple web page. The code imports `select` from D3 and a local `message` module, then displays the text “Hello VizHub!” in the center of the page. It relies on an external `bundle.js` file, which is not shown, to resolve the imports at runtime. The example uses `d3.select` to target a `<div>` element with the ID `message` and sets its text content, with styling applied via an external stylesheet.

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