Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
NNikitha123171
Last edited Mar 11, 2023
Created on Mar 11, 2023
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes