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

performance baseline for pre-processed svg in the DOM #12

Open
jordansread opened this issue Jun 5, 2018 · 2 comments
Open

performance baseline for pre-processed svg in the DOM #12

jordansread opened this issue Jun 5, 2018 · 2 comments
Assignees

Comments

@jordansread
Copy link

No description provided.

@jordansread jordansread self-assigned this Jun 5, 2018
@jordansread
Copy link
Author

I think this task is constrained to compare loading the page w/ the svg elements in the DOM and not to get too hung up on how to make the SVG elements. But...reference for geo2svg example and documentation

and a more detailed set of examples here for commandline tools to generate svg from geojson

jordansread pushed a commit to jordansread/viz-scratch that referenced this issue Jun 6, 2018
@jordansread
Copy link
Author

Messing around with the command line example for geo2svg, I tried out the precision arg for

geo2svg -w 960 -h 960 --precision 1 < ca-albers.json > ca-albers.svg

and it cut the resulting svg size by ~40%. (default precision is 6 digits).

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