Skip to content
This repository has been archived by the owner on Jun 30, 2018. It is now read-only.

Country view only displays two values on X axis #166

Open
jtg567 opened this issue Dec 8, 2016 · 4 comments
Open

Country view only displays two values on X axis #166

jtg567 opened this issue Dec 8, 2016 · 4 comments
Assignees
Milestone

Comments

@jtg567
Copy link

jtg567 commented Dec 8, 2016

JO and VU are only country codes shown at https://moz-distribution-viewer.herokuapp.com/chart/9/

Using FF "version": "50.0.2" release on Windows 10, fwiw

@robhudson
Copy link
Member

Something appears to be broken with both the chart axis display (not all country codes are displayed) and the hover tooltips which do not work. I'm seeing JS console errors.

Flagging frontend devs @spasovski and @openjck

@rafrombrc
Copy link
Member

For non-numeric, taxonomical values we want to show the N (15-20, probably) most popular values along the X-axis and use "other" to represent the long tail.

@openjck
Copy link
Contributor

openjck commented Feb 28, 2017

For non-numeric, taxonomical values we want to show the N (15-20, probably) most popular values along the X-axis and use "other" to represent the long tail.

Great! We can do that in #157. Separately from that, we might want to use this issue to figure out why only two labels are showing up here.

@rafrombrc rafrombrc added this to the m2 milestone Mar 7, 2017
@rafrombrc rafrombrc added the ready label Mar 7, 2017
@openjck openjck self-assigned this Mar 17, 2017
@openjck
Copy link
Contributor

openjck commented Mar 17, 2017

As it turns out, categorical charts are limited to 3 x-axis ticks. Showing more would be fine in this chart, but would cause labels to overlap in other charts.

So, this will go hand-in-hand with #163 (tilted labels) and #157 (group multiple data points into "other"). You could even call them dependencies. Once they're done, there may not be anything else to do.

@rafrombrc rafrombrc modified the milestones: m3, m2 Mar 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants