8000 GitHub - edelmanjm/simple-globe-svg: Renderers a simple globe with a customizable label to an SVG, using D3/ReactJS/topojson
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Renderers a simple globe with a customizable label to an SVG, using D3/ReactJS/topojson

Notifications You must be signed in to change notification settings

edelmanjm/simple-globe-svg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-globe-svg

A screenshot of the application

A simple topojson/geojson → SVG renderer using ZWSPD3.js. Supports mouse interaction and basic tweakable labels.

Forked from Gaushao/d3-react-globe (thanks!)

Try

Dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

dev: app

$ yarn start

dev: docs

watch typedoc changes and updates build/docs folder

$ yarn devdocs

run build/docs as an http server

$ npm i -g http-server
$ http-server build/docs

Build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

build: app

for building local remove homepage from package.json

$ yarn build

build: module

yarn prepare

build: docs

HTML

$ yarn docs

MD

$ yarn docsmd

Publish

npm package

npm run publish

gh-pages deploy

yarn deploy

Add Missing Third-Part Declarations

at src/types.d.ts

declare module 'library-name' {
    ...
}

Learn More

About

Renderers a simple globe with a customizable label to an SVG, using D3/ReactJS/topojson

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.4%
  • HTML 2.4%
  • Shell 0.2%
0