Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about the dot plot example data #181

Open
qtfkwk opened this issue Jun 7, 2022 · 2 comments
Open

Question about the dot plot example data #181

qtfkwk opened this issue Jun 7, 2022 · 2 comments

Comments

@qtfkwk
Copy link

qtfkwk commented Jun 7, 2022

https://plotly.com/javascript/dot-plots/

Questions

  1. What are the sources of this data? Or is it just an example?
  2. How can there be a higher percentage of population of registered voters than voting age in any country?
@nicolaskruchten
Copy link
Contributor

I believe this is just sample data.

@qtfkwk
Copy link
Author

qtfkwk commented Jun 10, 2022

Okay... no worries. I'd suggest the following modification then to fit the example better.

-var votingPop = [40, 45.7, 52, 53.6, 54.1, 54.2, 54.5, 54.7, 55.1, 56.6];
+var votingPop = [49.1, 45.7, 52.7, 84.3, 54.1, 61.1, 55.3, 64.2, 91.1, 58.9];
 
-var regVoters = [49.1, 42, 52.7, 84.3, 51.7, 61.1, 55.3, 64.2, 91.1, 58.9];
+var regVoters = [40, 42, 52, 53.6, 51.7, 54.2, 54.5, 54.7, 55.1, 56.6];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants