Skip to main content
100%

Car Reports

✓ Published0🌍 Public
Ppei9223
Last edited Sep 9, 2022
Created on Sep 9, 2022
Forked from Hello VizHub

This example renders a simple text message, “Hello VizHub!”, centered on the page using D3’s `select` to target a div with the ID `#message`. It demonstrates loading D3 v5 from UNPKG, importing the `select` function via ES6 modules, and importing a local module (`myMessage.js`) that exports the `message` constant. The code also links an external CSS file to style the text with a large font size and center alignment.

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