c3js / c3js/c3

Bar chart bars overlapping when data is a little spread out

Open
#669 15 comments 1 reaction 0 assignees View on GitHub
C-feature-request
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

Bar chart bars overlap each other when the data isn't as nicely spread out, but sporadic. Here's a fiddle of the issue. http://jsfiddle.net/Ljennqjw/1/
notice how the bars on the right all overlap.

Contributor guide

Open the contributing guide

Research direction

Reproduce the overlap with the linked JSFiddle, focusing on the bar chart behavior when values are sporadic rather than evenly spaced. Trace the chart's bar layout and spacing logic, then verify that the bars no longer overlap for the reported data while preserving normal bar-chart rendering.

Written by the indexing model from the issue text.

Assessment

Tech stack
d3, javascript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.