Skip to main content
100%

Cars report

✓ Published1🌍 Public
HHui Zhang
Last edited May 12, 2021
Created on May 12, 2021
Forked from Hello VizHub

This example demonstrates a static "Cars report" page featuring an SVG traffic light illustration. The visualization shows three car brands, with Nio highlighted in red, alongside two traffic lights composed of circles and rectangles rendered with SVG and styled through CSS. The code imports D3’s `select` function to update a message element and uses a local ES6 module for the text content. The SVG uses basic shapes like `circle`, `rect`, `line`, and `path`, with transformations applied via the `translate` attribute.

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