Skip to main content
100%

Activity_6

✓ Published1🌍 Public
Bbogasamudramvamsikrishnareddy
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Hello VizHub

This example renders a single, large text message centered on a blank page using D3.js. It demonstrates how to load D3 v5 from a CDN via UNPKG and import specific functions, such as `select`, from the library. The code also showcases local ES6 module usage by importing a `message` string from a separate `myMessage.js` file and setting the text content of a `<div>` element through D3’s selection API. Styling is applied via an external 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