Skip to main content
100%

Fork of t2

✓ Published0🌍 Public
Ssannihitha.k23@gmail.com
Last edited Apr 23, 2024
Created on Apr 23, 2024
Forked from t2

This example presents two D3.js v7 charts: a bar chart and a pie chart. The bar chart visualizes the count of orders by state using `d3.rollup` and `d3.scaleBand`, while the pie chart displays order statuses using `d3.pie` and `d3.arc`. Both charts load data from remote CSV files hosted on GitHub and render as SVG. The code includes axis labels, a chart title, and rotated tick labels, with styling applied via CSS classes.

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