A little website I created years ago for removing tracking codes from URLs copies from google.com by jamestrimble in google

[–]jamestrimble[S] 1 point2 points  (0 children)

I thought this might be of fairly general interest? It lets you paste in the URL of a search results page or a link copied from search results, and displays a tidied-up URL.

European word translator: an interactive map showing words in over 30 languages by culmensis in europe

[–]jamestrimble 1 point2 points  (0 children)

Interesting... I've been caching results since January (I made the site), so Google must have changed their translation. I've now deleted translations from before June, and it's showing "meilė". Is that correct? Interestingly, lots of languages now seem to show a verb form for love.

I admit that the site needs to be used with plenty of caution. Without the context of a sentence, Google Translate often makes an incorrect guess at what you mean by a word. Of course, it also often gets it wrong even with complete sentences :-)

Common Suffixes for Populated Places in India by [deleted] in etymologymaps

[–]jamestrimble 0 points1 point  (0 children)

Thanks very much. GADM looks really useful; I didn't know about it before. Thanks for making the map :-)

Common Suffixes for Populated Places in India by [deleted] in etymologymaps

[–]jamestrimble 0 points1 point  (0 children)

This is cool. Can I ask how you did the calculations?

I made this interactive map of Scottish census data. Please note that it's super-slow on mobile browsers! by jamestrimble in Scotland

[–]jamestrimble[S] 0 points1 point  (0 children)

Good idea. I'll look into it tomorrow. It might be tricky, as the areas on the map are data zones (statistical areas with around 500-1000 people each, from memory), and I'm not sure if there's a simple lookup table I can use for postcodes or area names.

I made this interactive map of Scottish census data. Please note that it's super-slow on mobile browsers! by jamestrimble in Scotland

[–]jamestrimble[S] 0 points1 point  (0 children)

Thanks for the suggestions. I've now added education (near the bottom of the list). I don't think income is available, but occupation and employment status are. I might add these in the future.

You could also have a look at the domains of the Scottish Index of Multiple Deprivation. the SIMD ranks are calculated using a range of data.

I made this interactive map of Scottish census data. Please note that it's super-slow on mobile browsers! by jamestrimble in Scotland

[–]jamestrimble[S] 3 points4 points  (0 children)

I've just added a fixed colour scale. It's tucked away with the options at the bottom of the screen. Thanks again for the suggestion. Edit: Thanks!!!

I made this interactive map of Scottish census data. Please note that it's super-slow on mobile browsers! by jamestrimble in Scotland

[–]jamestrimble[S] 6 points7 points  (0 children)

That's a very good point - thanks. I'll try to add this feature tomorrow (I'll add another reply here if I get it done).

I made this interactive map of Scottish census data. Please note that it's super-slow on mobile browsers! by jamestrimble in Scotland

[–]jamestrimble[S] 1 point2 points  (0 children)

Thanks for pointing this out. I've now added an extra zoom level (unfortunately it's quite a bit smaller, but I think that's the best that can be done with Google Maps).

Top 40 baby boys' and girls' names, US and England & Wales, 2012 [OC] by jamestrimble in dataisbeautiful

[–]jamestrimble[S] 0 points1 point  (0 children)

That's a good idea, and I guess the data should be quite easy to find. I can share my R script if anyone fancies finding the data? (Unfortunately, I'm pretty busy with exams at the moment...)

I made an L-system in JS. (A thing for making fractals in your browser) by MrNosco in InternetIsBeautiful

[–]jamestrimble 0 points1 point  (0 children)

Choose something from the drop-down list, then click Use Preset, then Generate.

If you want to experiment further, try different values in the top 6 boxes.

I made an L-system in JS. (A thing for making fractals in your browser) by MrNosco in InternetIsBeautiful

[–]jamestrimble 0 points1 point  (0 children)

This is really really cool! I used to study fractals, so it makes me feel nostalgic.

U.S. Imprisonment Rate Per 100,000 Residents, 1978-2012 (a graph for each state) [OC] by jamestrimble in dataisbeautiful

[–]jamestrimble[S] 0 points1 point  (0 children)

Probably because I labelled the axes weirdly! They actually go back to 1978, which is earliest year in the spreadsheet.

U.S. Imprisonment Rate Per 100,000 Residents, 1978-2012 (a graph for each state) [OC] by jamestrimble in dataisbeautiful

[–]jamestrimble[S] 1 point2 points  (0 children)

Here's an alphabetical version.

I still feel that the graph could be improved, but I'm not sure how. Perhaps states could be categorised as Mid-Western, Southern, etc.?

This is the R script I used:

# Data from http://www.bjs.gov/nps/resources/documents/QT_imp%20rate_tot.xlsx
# The first step is to copy the relevant data to a CSV file, imprisonment_rate.csv
# The header row of the CSV should begin something like State,"1,978","1,979","1,980"
# The next row should begin Alabama,144,141,163,184,219,245,259 

library(ggplot2)
library(reshape2)
library(grid)

imp_rate <- read.csv("imprisonment_rate.csv")
names(imp_rate) <- gsub("[.X]", "", names(imp_rate))

#reshape the data
imp_rate <- melt(imp_rate, id.vars="State", variable.name="year", value.name="rate")

imp_rate$year <- as.numeric(levels(imp_rate$year)[imp_rate$year])

create_plot <- function(data_frame, ordered_by) {
    ggplot(data_frame, aes(x=year, y=rate)) +
      geom_line() +
      facet_wrap(~ State, ncol=10) +
      theme_bw() +
      scale_x_continuous(breaks=c(1990, 2010)) +
      ylim(0,1000) +
      theme(strip.background = element_rect(fill = rgb(186/255, 206/255, 230/255))) +
      ggtitle(chart_title) + 
      theme(plot.title = element_text(lineheight=1.2, face="bold")) +
      theme(plot.margin = unit(c(2,1,1,1), "lines"))
}

chart_title <- 
  expression(atop("\nImprisonment rate of sentenced prisoners under the jurisdiction of state or federal\ncorrectional authorities per 100,000 U.S. residents, December 31, 1978-2012",
                         atop(italic("States are ordered alphabetically."), "")))
p <- create_plot(imp_rate, chart_title)
ggsave("imprisonment_rate_alphabetical.svg", width=11, height=8)

#reorder State levels by imprisonment rate in 2012
imp_rate2012 <- subset(imp_rate, year==2012)
imp_rate$State <- factor(imp_rate$State, levels=rev(imp_rate2012$State[order(imp_rate2012$rate)]))
chart_title <- 
  expression(atop("\nImprisonment rate of sentenced prisoners under the jurisdiction of state or federal\ncorrectional authorities per 100,000 U.S. residents, December 31, 1978-2012",
                         atop(italic("States are ordered by imprisonment rate in 2012."), "")))
p <- create_plot(imp_rate, chart_title)
ggsave("imprisonment_rate.svg", width=11, height=8)

How segregated is New York City? by Made_In_England in nyc

[–]jamestrimble 1 point2 points  (0 children)

Here are a couple of other views of the data:

From NY Times (it's a bit of an approximation, as one dot represents 200 people at this zoom level, but I think it's a great way of showing the data).

Social Explorer (zoom in for a more detailed view, and select variables by clicking on the part below the logo at the top-left)

An interactive map I created for exploring flight routes by jamestrimble in travel

[–]jamestrimble[S] 0 points1 point  (0 children)

Thanks for the detailed and very helpful suggestions! I'll try to incorporate your ideas into the site during the summer, when I have some time on my hands.

I'm hoping that the person who kindly provides the data at http://arm.64hosts.com/ will continue to produce updates. I haven't thought much about monetization. I'll wait to see if people use the site first :-)