c3js / c3js/c3

x ticks and values in histogram-like fashion

Open
#1,900 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

Hello,
I am plotting a barchart with numerical data to get an histogram of the distribution.
Basically I plot the binned data exactly like a categorical barchart, but what I would like is to custom the ticks values to lie exactly below the ticks (with the bars still between the ticks, exactly like a categorical barchart), and thus have n+1 values for my n bins
1. Is it possible?
2. If yes, how exactly ? :)

Thanks in advance for your help!

Cheers

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by tracing the JavaScript chart API for x-axis tick values and reproduce the binned bar chart described; determine whether it supports n+1 boundary labels with bars between them. Done means the requested tick behavior is either supported with a verified example or its required scope is clearly identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
d3, javascript
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.