Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

[A10] Bar Chart of 2016 Election Data (Found Black Hat + White Hat Redesign)

Public visualization

[A10] Bar Chart of 2016 Election Data (Found Black Hat + White Hat Redesign)

0 stars0🌍 Public
Cctan13@dons.usfca.edu
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from HTML Starter

This bar chart visualizes voter quantities across four political groups, using a color scale of blue, red, black, and gray to differentiate categories. The visualization loads election results from a CSV file via d3.csv, then renders SVG bars with d3.scaleBand for the x-axis and d3.scaleLinear for the y-axis. Interactive hover effects change bar opacity and display a quantity tooltip, while axes are labeled using d3.axisBottom and d3.axisLeft.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed