Skip to main content
100%

BarChart!

✓ Published3🌍 Public
Vvivianaaai@qq.com
Last edited Nov 6, 2023
Created on Nov 6, 2023
Forked from HTML Starter

This bar chart displays the values of 14 named members of the CSCG group, with each name on the y-axis and its corresponding numeric value extending horizontally on the x-axis. The visualization uses D3 v6 with an SVG rendering approach, employing `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the categorical y-axis, and `d3.axisLeft` and `d3.axisBottom` to generate axes. Data is hard-coded as an array of objects, and each bar is drawn as a green rectangle with 0.8 opacity, while axis tick labels are enlarged via a D3 selection.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes