ColorScheme version 0.0.2 ! !

I added a new feature to the ColorScheme processing library I made.
Now you can pass image files to the constructor like:

ColorScheme colorScheme = new ColorScheme("image.jpg", this);

It will generate a color scheme based on the most common colors in the image
(with a bit of randomness in there to give you some accents).

Source code


The Frightening Future of Digital Maps: Monica Stephens

Social networks, GIS, cartographic visualizations, and the gendered dimensions of Volunteered Geographic Information (VGI). 


A decision tree to choose a Machine Learning algorithm


A decision tree to choose a Machine Learning algorithm

"The most dangerous thought you can have as a creative person is to think you know what you’re doing."

Up, up and Away!

Everyday I have this feeling that the things in my screen, inside the chips, traveling in the clouds are looking for a better placement and we keep looking for a better approach.

(via lifeandcode)

json string dynamic read

  just to keep usual things noted.
with dummy object: string myJson = "[{id: 10, typeID: 4},{id: 100, typeID: 3}]"; var dummyObject = new[] { new { id = 0, typeID = 0 } }; var myObjects = JsonConvert.DeserializeAnonymousType(myJson, dummyObject); Console.WriteLine(myObjects[0].id);

from http://wblo.gs/cZK.

without dummy object:
using System.Collections.Generic;
 JavaScriptSerializer js = new JavaScriptSerializer();
 dynamic jsonResponse = js.DeserializeObject(myJson);


first option:

foreach (PropertyInfo prop in props) { if (typeof(DbGeometry).IsAssignableFrom(prop.PropertyType)) { object propValue = prop.GetValue(obj, null); geometry = GeometryFromDbGeometry((DbGeometry)propValue); } }

second option:

object geomPropValue = props.Where(p => typeof(DbGeometry).IsAssignableFrom(p.PropertyType)).SingleOrDefault().GetValue(obj, null);


Posted on VisualLoop: 90 dataviz Tumblr blogs to followMarch 7, 2014 Read more …
Blogs on data visualization, cartography and data journalism in alphabetical order:
Anatomy Diagrams
Aron Pilhofer
Art & Science Journal
Baby Steps in Data Journalism
Beautiful Type
Beauty in Data
Brian McGill Newsart
Boston Globe Infographics department
CartoDB Blog
Charts n’ Things
Chicago Tribune Graphics
Cognitive Geometrics
Column Five
Data Anxiety
Data, Dispatches, and Diagrams
Data Journalism Links
Data Journalism Tools
Data Noveau
El Mundo Graficos
Fast Company on Tumblr
Fuck ton of Anatomy References
Fuck Yeah Venn Diagrams
Geek Vizious
Geometry Matters
Graham Roberts
Hyperreal Cartography
How it works diagrams
I Love Charts
Info Jocks
JESS3 on Tumblr
Judgmental Maps
Life and Code
Linda Hall Library
Maps Of the Continental United States (MOCUS).
Maps on the Web
Mindfuck Maths
Movies in Color
Movie Sound
Milwaukee Stat
National Post – Art & Design
Nature Graphics
New(s) Narratives
Old news graphics
Paul Bradshaw’s tumblelog
Pew Internet
Quantified Breakup
Quartz on Tumblr
Schema Design
Smithsonian Libraries
Stephen Wildish
Tableau Love
Tiffany Farrant-Gonzalez work
Time for Maps
The 3-Minute Win
The annotation layer
The Appendix
The Art of Physics
The Atlantic Cities
The center for Investigative Reporting
The Economist
The Infogram Blog
The Land of Maps
The New Yorker on Tumblr
The Venn Review
Transit Maps
Thumbs Up Viz
Union Metrics
Vejo infográficos em tudo
Visualizing Math
Visual knowledge
Vizzuality Blog
Washington Posts Information Graphics
We Love Datavis
Wolfram Alpha Blog
World Bank Data Viz

Dataviz blogs.


Posted on VisualLoop: 90 dataviz Tumblr blogs to follow
March 7, 2014 
Read more …

Blogs on data visualization, cartography and data journalism 
in alphabetical order:

Dataviz blogs.

(via lifeandcode)

C# lat and long to geometry

If you want to convert lat and long to geometry on you repository:

string location = string.Format("POINT ({0} {1})", lng, lat).Replace(',', '.');
DbGeometry point = DbGeometry.PointFromText(location, 4326);