Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6 task 2

Public visualization

Viewing a saved revision (read-only)

f86da4c1d44343969f0308ef56ac96df

Activity 6 task 2

0 stars0🌍 Public
Ssanavenkatasurendrareddy@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024

This example displays a horizontal stacked bar chart comparing the distribution of student grades across six countries, with each bar partitioned into five grade-range segments. It loads D3 v5 from UNPKG and uses the `select` import to update the DOM. The data is sourced from a local CSV file containing grade proportions, though the visible chart rendering logic is not implemented in the provided code, which only sets a text message.

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.