Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

7cd0fa268aeb48cf9522e410a11c7bc1

Customizing Axes

0 stars1🌍 Public
JJake
Last edited Jun 15, 2020
Created on Jun 15, 2020
Forked from Customizing Axes

This example shows the price of Bitcoin over time, using an area chart to emphasize the overall trend. It demonstrates how to customize axis labels, fonts, and tick marks to create a polished, readable visualization. The code uses D3's `scaleTime` and `scaleLinear` for scaling, `axisLeft` and `axisBottom` for axes, and an `area` generator for the chart's shape. Data is loaded from a comma-separated file and rendered as an SVG.

AI-generated description