Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity 6 2.1

Public visualization

Viewing a saved revision (read-only)

1d2454889de94075af5892ccd985ca15

activity 6 2.1

0 stars0🌍 Public
RRakesh Yadav
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Hello VizHub

This example demonstrates how to display a message using D3.js version 5. The code imports the `select` function from D3 and a local ES6 module, then sets the text of a `<div>` element to "Hello VizHub!". It also includes a CSS stylesheet that styles the message with a large font size. The page loads D3 from a CDN via UNPKG and uses the `import` syntax to organize dependencies. Data from a CSV file is not visualized in this example, focusing instead on basic DOM manipulation and module loading.

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.