Skip to main content
100%

ICE6-barchart

✓ Published0🌍 Public
HHariniPotla@my.unt.edu
Last edited Mar 6, 2026
Created on Mar 6, 2026
Forked from HTML Starter

This example shows daily sales performance as a static bar chart, with each bar representing one day’s sales value in steel blue on an SVG canvas. It loads CSV data from a GitHub gist, parsing numeric fields for Day, Sales, Profit, Orders, and Visitors. The chart uses `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, with axes rendered via `d3.axisBottom` and `d3.axisLeft`. Only every fifth day is labeled on the x-axis to reduce clutter, and titles for the chart and axes are added as SVG text elements.

AI-generated description
MIT Licensed

Similar vizzes