Skip to main content
100%

cars report

✓ Published0🌍 Public
GGreenBreakers
Last edited Jan 7, 2023
Created on Jan 7, 2023
Forked from Hello VizHub

This example demonstrates the basic capabilities of VizHub by rendering a simple text message in the center of the page. It loads D3 v5 via UNPKG and uses the `select` function to target a `div` element with the ID `message`. The text content comes from a local ES6 module, `myMessage.js`, which exports a string constant. The code highlights how to import from D3 and from local modules, with styling applied through an external CSS file.

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