Skip to main content
Public

Share visualization

Loading preview…

Marks and Channels

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Marks and Channels

0 stars0Public
Hharika-1929
Last edited Jun 25, 2022
Created on Jun 25, 2022

This bar chart displays the types of movies released in a particular year, using horizontal bars to compare counts across categories. The visualization loads CSV data from a GitHub gist, parsing numeric year values, and renders the top 20 records as an SVG. Built with React and D3 v5, the chart uses `d3.scaleBand` for the categorical y-axis, `d3.scaleLinear` for the quantitative x-axis, and maps each movie type to a filled rectangle whose length encodes the year’s value. The chart includes custom axes and grid lines drawn with SVG elements.

AI-generated description

In this Exercise we used a git hub data link https://gist.githubusercontent.com/SharmilaChowdhari/e89030b3b3b10be1445750f4330b47c8/raw/1784b236a7fd5dc4f95ee189695abf4ab2f3397a/Movietitle And then created a html file to create styles and java script files to create the bar graph display.

Comments

Sign in to join the discussion.

MIT Licensed