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

Reduce file size #82

Open
jordansread opened this issue Mar 10, 2017 · 1 comment
Open

Reduce file size #82

jordansread opened this issue Mar 10, 2017 · 1 comment

Comments

@jordansread
Copy link

as of Friday afternoon, we are at ~1MB for the index, which is too big. Explore ways to reduce it and document where the biggest contribution to file size are coming from and whether we can reduce them.

@jordansread
Copy link
Author

  • Alaska is a pretty huge/complicated part of the svg and we can simplify the geometries of that because we scale it down anyways.
  • some of the rounding that we do should be done w/ sprintf instead of round
sprintf("%1.1f", 1.40000000000001)
[1] "1.4"
  • others?

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

1 participant