Skip to main content
100%

HTML Baseball Report

✓ Published0🌍 Public
Mmjglsn
Last edited Apr 6, 2021
Created on Apr 6, 2021
Forked from Hello VizHub

This example displays a simple baseball report as a red, large-font HTML page listing three player names, including Mike Trout and Shohei Otani. The page is built with static HTML and CSS, while a separate JavaScript file uses `select` from the D3 library to set the text content of a `#message` div. The code imports the D3 module from UNPKG and also imports a local ES6 module, `myMessage.js`, which exports a short string. The styling and content are rendered entirely by the browser without any data processing or dynamic visualization.

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