Skip to main content
100%

Fork of Hello VizHub_sk

✓ Published1🌍 Public
Ssuchigeneralpur@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This example demonstrates how to build a minimal D3.js visualization using ES6 modules. It uses d3’s `select` function to update the text content of a `div` element with a greeting. A custom local module, `myMessage.js`, exports a string constant that is imported into the main script. The page loads D3 v5 from UNPKG and applies centered, large font styling via a separate 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