Skip to main content
100%

Assignment 10: Grade A (Misleading)

✓ Published0🌍 Public
Aamrubal
Last edited Apr 25, 2022
Created on Apr 25, 2022
Forked from HTML Starter

This visualization displays the total number of votes for three presidential candidates using a bar chart, with the y-axis truncated to begin at 10,000,000 votes. This misleading scale exaggerates the visual differences between candidates, making the vote counts appear more disparate than they are. The chart is rendered as an SVG using D3 v7, with `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis. Data is loaded from a local `data.csv` file containing candidate names and vote totals.

AI-generated description

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

See also React Starter.

Data from: https://corgis-edu.github.io/corgis/csv/election/

MIT Licensed

Similar vizzes