Skip to main content
100%

Document

✓ Published0🌍 Public
Aackuser
Last edited Jan 16, 2016
Created on Aug 28, 2019

Two small SVG charts display time blocks as steel-blue bars against a 24-hour y-axis, with each chart representing a different dataset of start and end hour ranges. The code uses d3.v3’s `d3.svg.axis` and `d3.scale.linear` to map hours to vertical positions, calculating tick distance to size bar heights. Bars are appended as `rect` elements via `selectAll` and `enter()`, with opacity set to 0.5. Data are hardcoded arrays of objects, rendered side by side in Bootstrap grid columns.

AI-generated description

Similar vizzes