• Stars
    star
    158
  • Rank 237,131 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created over 11 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A command-line tool to better visualize crowded dot density maps.

Binify

A command-line tool to better visualize crowded dot density maps.

Don't miss the introductory blog post.

Developed as part of a visualization course at the University of Minnesota.

Have an idea? Open up an issue.

ScreenShot

In the wild

Installation

Binify is available in the Python Package Index. I recommend using a virtual environment.

$ mkvirtualenv binify
$ pip install binify

Node: This installation assumes GDAL is already installed. To install GDAL with python bindings:

OS X: Try the precompiled biniaries by KyngChaos.

Ubuntu:

$ sudo apt-add-repository ppa:ubuntugis/ppa
$ sudo apt-get update
$ sudo apt-get install python-gdal

Usage

To view options for your installed version of Binify, use the help flag.

$ binify --help
usage: binify [-h] [-n NUM_ACROSS] [-o] [--ignore-type] infile outfile

positional arguments:
  infile                A point shapefile to create bins from.
  outfile               A shapefile to write to. Will be created if it does
                        not exist.

optional arguments:
  -h, --help            show this help message and exit
  -n NUM_ACROSS, --num-across NUM_ACROSS
                        Number of hexagons for the grid to have across
                        (approximate)
  -E EAST_LNG WEST_LNG SOUTH_LAT NORTH_LAT, --extent EAST_LNG WEST_LNG SOUTH_LAT NORTH_LAT
                        Use a custom extent.
  -e, --exclude-empty   Exclude shapes that end up binning zero points.
  -o, --overwrite       Overwrite output file.
  --ignore-type         Ignore the geometry type of the input shapefile.
  --suppress-output     Supress console output (excluding any warnings).

A basic execution may look like this:

$ binify MN_FFLS/MN_FFLS.shp MN_FFLS-grid/MN_FFLS-grid.shp

More Repositories

1

depict

Depict aims to easily render fallback images for complex visualizations. (IE 8, I'm looking at you.)
JavaScript
54
star
2

d3-star-plot

Star plots in d3
JavaScript
45
star
3

box-chart-maker

A tool for journalists
JavaScript
14
star
4

us-abbreviations

Utility for converting between different U.S. state abbreviations.
JavaScript
13
star
5

archieml-python

An ArchieML parser for Python
Python
11
star
6

spotify-album-cards

Create printable and scannable cards for albums on Spotify
Python
8
star
7

open-in-github

A shortcut to your project on GitHub.com
Python
8
star
8

table-converter

JavaScript
5
star
9

feedmaker

Quickly generate an RSS feed from any website
Python
5
star
10

infovis-helper

Helper functions for using the InfoVis javascript toolkit
4
star
11

django-wordpress-rss

A custom Django template tag for adding Wordpress articles.
Python
4
star
12

avoid-overlap

Utilities for chart-makers to avoid text overlaps in their graphics
TypeScript
3
star
13

strib-data-graphics-tools

A description (and installation instructions) of tool the Star Tribune graphics/data team uses
3
star
14

2013-minneapolis-mayoral-results

Star Tribune election results
JavaScript
3
star
15

choose-your-own-donation

JavaScript
3
star
16

inter-pac-spending

PHP
2
star
17

kevinschaul.github.io

Personal site
HTML
2
star
18

Word-Rank

A short python script to rank the frequency of words in a text file
2
star
19

bbc-radio-playlist-history

BBC Radio program playlists history
JavaScript
2
star
20

local-elections

A python module to simplify election results for local races.
Python
2
star
21

badchess

A bad chess engine for learning. Implements the UCI Protocol for communication with chess GUIs.
Python
2
star
22

react-us-map

React component for displaying responsive U.S. maps with tooltips, fills, strokes and more
JavaScript
2
star
23

Twit-News-Brief

Pull the news out of your Twitter timeline
1
star
24

smiley

Display structured data feeds in a smart, customizable way
JavaScript
1
star
25

vikings-bill-voters

1
star
26

nice-ride-attractions

A project for Spatial Hotdish
JavaScript
1
star
27

scrapestax

In conjunction with Haystax, ScrapeStax hopes to make web scraping easier. (Heh).
JavaScript
1
star