Skip to main content
100%

Fork of MarvelVsDC Bar Chart

✓ Published0🌍 Public
Hhappymail6
Last edited Jun 24, 2022
Created on Jun 24, 2022

This horizontal bar chart compares revenue figures for Marvel and DC movies, ranking titles by their dollar value. The visualization uses D3 v5 with SVG rendering, employing `d3.scaleLinear` for the x-axis, `d3.scaleBand` for categorical y-axis spacing, and `d3.axisBottom` with a custom tick formatter that abbreviates large numbers. Data is loaded from a CSV file via `d3.csv`, with numeric conversion applied to the rate field. The chart demonstrates custom axis styling, including removal of domain lines and addition of axis labels.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

MIT Licensed

Similar vizzes