Skip to main content
100%

Activity 6

✓ Published0🌍 Public
MMounishAllam@my.unt.edu
Last edited Oct 19, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

This example demonstrates a minimal D3.js setup that renders static text into a web page. It shows how to load D3 from a CDN and use ES6 module imports to structure code across multiple files. The `select` function from D3 targets a div element by ID, and the text content is supplied by a custom local module. A regex literal and a constant are defined in the main script, though they do not affect the visual output. The styling is applied via a linked CSS file that centers the text at a very large font size.

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