Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
SSaiSree0122
Last edited Jun 22, 2022
Created on Jun 22, 2022
Forked from Hello VizHub

This example demonstrates the basic structure of a VizHub project, showing how to display a simple text message on a webpage using D3.js. The code imports the `select` function from the D3 library and a custom `message` string from a local ES6 module. It then uses `select` to target the `#message` div element and sets its text content to the imported string. A separate CSS file centers the message and scales its font size to 12em, while the HTML loads D3 from UNPKG and bundles the JavaScript modules.

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