MarvelVsDC Bar Chart
✓ Published0🌍 Public
This bar chart compares Marvel and DC movies by their IMDB ratings, displaying each film title along the vertical axis and its rating as a horizontal bar. The visualization uses D3 v5 within a React framework, employing `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis. Axes are generated with `axisLeft` and `axisBottom`, while the chart is rendered as SVG elements. The data is loaded from a CSV file via `d3.csv`, with rating values parsed to numbers before rendering.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed