Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Blank Canvas

Public visualization

Viewing a saved revision (read-only)

d40516710aea427db23876efd342382d

Fork of Fork of Blank Canvas

0 stars0🌍 Public
Aagopu@nd.edu
Last edited Feb 7, 2024
Created on Feb 7, 2024

This example demonstrates a fork of a fork of a blank canvas, presenting two distinct bar chart visualizations. The first chart renders a simple dataset with values 4, 8, 15, 16, 23, and 42 using D3 v7's `scaleLinear` and `select`/`selectAll`/`append` APIs to draw rectangles and text labels on an SVG canvas. The second chart uses the Chart.js library to display categorical vote counts in a bar format with semi-transparent background colors and border styling. Both charts are drawn to an HTML canvas element, with the page's styles defining a fixed, full-viewport layout.

AI-generated description