Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Data Visualisation with D3 - Pseudo Charts (Bar)

Public visualization

Data Visualisation with D3 - Pseudo Charts (Bar)

0 stars1🌍 Public
Vvivienho22
Last edited Aug 31, 2022
Created on Aug 31, 2022

A bar chart rendered as static SVG rectangles approximates a simple data visualization without scales or axes. Three black bars and one teal bar, all drawn with explicit `x`, `y`, `width`, and `height` attributes, represent categorical values labeled "A" and "B" via `<text>` elements. The example uses no D3 JavaScript APIs, relying instead on hand-coded SVG markup, inline CSS, and a Nunito font imported from Google Fonts. A white background rectangle and black strokes on the first bar define the minimal styling.

AI-generated description

An approximation of a bar chart

Comments

Sign in to join the discussion.

MIT Licensed