Skip to main content
100%

tutorial1a6

✓ Published0🌍 Public
Ddineshreddy.ravula@gmail.com
Last edited Apr 5, 2024
Created on Apr 5, 2024
Forked from Hello VizHub

This example demonstrates the basic setup of a D3.js visualization within the VizHub framework. It displays the text "Hello VizHub!" in a large, centered style using a local CSS file. The code imports the `select` function from the D3 library and a custom `message` string from a local ES6 module, then uses `select('#message').text(message)` to render the text. It also includes a simple regular expression and a number variable, illustrating basic JavaScript syntax alongside the D3 API.

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