GithubHelp home page GithubHelp logo

travispence / us-states-svg-to-png-with-legend Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 5.86 MB

A tool to assist creating a PNG graphic from an SVG with custom legend categories and labels.

Home Page: https://travispence.github.io/us-states-svg-to-png-with-legend/#/

License: MIT License

JavaScript 4.85% HTML 3.28% Vue 91.87%
vuejs svg svg-editor png

us-states-svg-to-png-with-legend's Introduction

us-states-svg-to-png-with-legend

A tool to assist creating a PNG image from an SVG with custom legend colors and labels. View Demo

The was built with the Vue CLI tool and follows the basic structure provided.

Demo

Limitations

Up to 6 colors and labels can be specified. This is because the <text> annd <rect> components are hardcoded into the SVG image.

Developed and Tested on a Desktop running Chrome.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

us-states-svg-to-png-with-legend's People

Contributors

travispence avatar

Watchers

 avatar  avatar

us-states-svg-to-png-with-legend's Issues

Change ID for missouri

The ID for the state of Missouri does follow the pattern of the other states and currently cannot be selected.

Default State

  • Minimal category / state selection
  • Ability to reset back to this default state.
  • Display pre-configured map with categories and state selection

Color Picker

There should be a color picker that allows the user to set the fill color for the category. Text color should also be considered.

Cleanup UI

  • Remove inline styles
  • Restructure how categories are displayed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.