Skip to main content
100%

Chandrakant Bharatkumar Thakkar

✓ Published0🌍 Public
CChandrakantThakkarDigiCorp
Last edited Jul 1, 2017
Created on Jul 1, 2017

This example demonstrates D3.js axis formatting by displaying multiple y-axes side by side, each using a different tick format for the same ordinal scale. The first three axes show simple numbers, floating-point numbers with two decimals, and SI-prefix notation (e.g., "1k"), while a fourth axis switches to a time scale parsing date strings with `d3.timeParse`. The visualization uses SVG rendering with `d3.axisLeft`, `d3.scaleBand`, `d3.scaleTime`, and custom `tickFormat` functions to illustrate how data values and labels change across formats.

AI-generated description

Similar vizzes