Skip to content

UrbanInstitute/code-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code-snippets

Various small snippets of code and useful hacks

This document is written in github flavored markdown. On github.com, you see the markdown converted to various tags (lists, bold/italic, headers, links, etc.) Open the file in a text editor to see examples of markdown, and follow the structure of the examples when creating new entries.

##urban-website

##urban charts

###chart types

  • templates/tilegrid-map: State tile grid map - SVG, colored using d3

  • js/linechart-longdata.js: Line chart using long data (i.e. data columns = group, year, value)

  • js/linechart-widedata.js: Line chart with a legend using wide data (i.e. data columns = year, valuegroup1, valuegroup2) - shows how to call multiple graphs to their own divs on the same page

About

Various small snippets of code and useful hacks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6

Languages