Skip to main content
100%

Prototyping Charts

✓ Published0🌍 Public
GGavin Sykes
Last edited Jul 26, 2020
Created on Jul 26, 2020
Forked from HTML Starter

This example demonstrates how to prototype column charts using the SVGChrt library, which extends standard SVG rendering with dynamic chart-building methods. The chart uses D3.js scales and axes (such as d3.scaleBand, d3.scaleLinear, and d3.axisBottom) to map data to visual elements. The code defines a custom SVGChrtColumn class that computes axis domains from the dataset, supports linear, power, and logarithmic scales, and handles configurable positioning of axes on all four sides. The visualization is rendered with user-supplied data through a simple HTML container and bundled JavaScript.

AI-generated description
MIT Licensed

Similar vizzes