Bar Chart
✓ Published0🌍 Public
CCoreyBurkhart
Last edited Mar 20, 2017
Created on Mar 19, 2017
A bar chart visualizes the frequency of Reddit post domains from a single page of r/all, sourced from a local data.json file. It displays the count of occurrences for each domain, such as i.imgur.com, using vertical bars that change color on hover. The visualization uses d3.v4's scaleBand for the x-axis, scaleLinear for the y-axis, and axisBottom/axisLeft to render axes. Data is processed with JSON.parse and a custom reduce function, with SVG rectangles positioned via margin and barScale calculations.
AI-generated descriptionFrequency of reddit post domains for one page of reddit.com/r/all
Built with blockbuilder.org
mit Licensed