Skip to main content
100%

ICE 6 : bar chart for parental level of education vs math score

✓ Published0🌍 Public
SShridhar Kshirsagar
Last edited Mar 10, 2023
Created on Mar 9, 2023

This bar chart visualizes the relationship between parental level of education and student math scores, with each bar representing a category of parental education. The bars are colored using a green color scale via `d3.scaleQuantize` and `colorbrewer.Greens`, with a color legend created using `d3.legendColor`. The visualization is built with D3 v7, rendering to an SVG, and reads data from a CSV file loaded via `d3.csv`. It uses `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, with axis labels and a title added via SVG text elements.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes