Fork of Hello VizHub
✓ Published0🌍 Public
This example shows a horizontal bar chart of the top 15 movies by Meta score, displaying each film’s title along the y-axis and its score along the x-axis. The visualization uses React for component state and rendering, with D3 v5’s `scaleBand`, `scaleLinear`, `csv`, and `max` functions to load and scale data from a GitHub-hosted CSV. SVG rects are drawn inside a transformed group, with custom tick labels and gridlines generated manually rather than via D3 axes. The data loads asynchronously and defaults to a "Loading..." message until ready.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed