Skip to main content
100%

bar chart

✓ Published2🌍 Public
LLonwabo11
Last edited Aug 7, 2019
Created on May 22, 2019
Forked from bar chart

A bar chart displays the Suicide Squad cast members ranked by a numerical score, with character names on the x-axis and their rank values on the y-axis, using orange rectangles. The example loads data from a local JSON file, which includes names, actors, ranks, and descriptions, and renders it as an SVG using D3 v5. It employs `d3.scaleBand` for the categorical axis, `d3.scaleLinear` for the continuous axis, and `d3.axisBottom`/`d3.axisLeft` to generate ticks. The chart includes a title, margins, and axes, with data fetched via `d3.json`.

AI-generated description

Suicide Squad cast graph witht their name and ranks. Data for the plot can be foud at https://github.com/colorfest/d3js/tree/master/data

MIT Licensed

Similar vizzes