Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello

Public visualization

Viewing a saved revision (read-only)

d2de9b9eb6ba46dc85435b29eafc519a

Fork of Hello

0 stars0🌍 Public
Bbyiringirodalio
Last edited Mar 30, 2021
Created on Mar 30, 2021
Forked from Hello VizHub

This example displays a single car model from a small dataset of vehicles, showing the text "accord" centered on the page with large font styling. It imports car data from a local ES6 module (`cars.js`) that parses a JSON string using `JSON.parse`, then accesses the second entry to extract the model field. The code demonstrates module imports, DOM manipulation via `getElementById`, and CSS styling for the message element.

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.