• New Jekyll Project With No Theme and No Posts, Just Scafolding

    January 11, 2020

    I use Jekyll to make this site. I’ve toyed with converting the site to a Wordpress site but I much prefer writing in a text editor. I also love that I can write <html> or js wherever I want in a file with syntax highlighting. I also use Jekyll to quickly prototype ideas. For this I’m looking for a bare bones Jekyll install.

  • Django View that returns JSON with a relationship

    January 03, 2020

    I am starting to really like Django development. I’m not a python developer and I am by no means a “full stack” developer, but I keep finding ways to make things in Django without much effort.

  • Nesting Json and Using Template Literals to Produce HTML

    January 01, 2020

    I come from the R world working with data. A very common data analysis technique is to take data and group it by a variable. I wanted to do the same thing with javascript and then append the data using .innerHTML to the DOM. I am working on an app that has data that I would like the user to be able to display in various different ways. I had a really hard time finding any information on grouping data and how to loop through the grouped data to display the grouped data in HTML. I am not very good a javascript so this was quite a challange for me.

  • D3js River flows

    December 22, 2019

    I’m working on a website for a rafting non-profit. I thought it would be cool if they could display the flow data for local rivers. I also thought this would be good time for me to learn more about D3js and the USGS instantaneous flow data API.

  • Django Relationships

    December 15, 2019

    For some reason, in the winter I get the urge to learn something new. This year, I’m attempting to pick up Django again (gave an effort a year ago too). One of the things I wanted to better understand is how to implement database relationships.

  • Colorado: Hex Plots, APIs, and D3js

    November 30, 2019

    After my last blogpost I was a little frustrated at how poorly the title text resized using ggplot and ggsave. It was a minor issue to be honest, but I figured I could learn something new by exporting the data as geojson and plotting it using D3 js. So here it goes.

  • Helpful Wordpress Snippets

    April 13, 2019

    Some helpful Wordpress snippets that I am always looking up.

  • Web Dev Resources

    December 12, 2018

    A collection of resources that I couldn’t work without

  • Django Getting Started

    December 08, 2018

    My notes on learning Django. I’m using this Django Tutorial.

  • D3:Basic Line Chart

    October 28, 2018

    This is a basic line chart built with D3. I’ve written a few more tutorials on how to make charts starting out very basic and moving to a little more complex. I’m no expert, so these are how a beginner (at both javascript and D3) would explain everything. Some might find that methodology helpful. My previous tutorials: My first charts, SVG Plots, Scatterplot.

  • Jekyll Cheatsheet

    October 28, 2018

    For whatever reason, I don’t seem to remember so many important jekyll code snippets. This note is a list of all that I can’t remember.

  • D3.js: Basic ScatterPlot

    October 27, 2018

    I’ve made a few bar charts up to this point. But really what I want to do is plot data over time. We need to figure out how to add x and y axis and work with x and y coordinates. The next logical step then, is to make a scatterplot.

  • D3.js Next Steps: SVG

    October 08, 2018

    So the next big steps in making charts is instead of using html elements, d3 works really well with svg elements. But even though svg elements are a flexible for making graphics, not that many people are familiar with them so they add another level of confusion to the process. So let’s start at the beginning with what an svg element is.

  • D3.js: Notes on my first outing

    October 08, 2018

    When I learned to program, I started to come up with all of these ideas that all of the sudden I knew were possible. But I didn’t really know how to implement most of them. For instance, I’ve wanted to be able to use an API to retrieve data and then use that data to make a chart on the fly for quite some time. There’s only one problem: I suck at javascript. Without a doubt, charting and making api calls on the front end requires javascript. It also means, working with D3 if you want to do it right. Needless to say, because I am not an excellent javascript (or anything but html, css, and a touch of r for that matter) this “dream” has been an uphill battle. Just getting the data has been a challenge. Needless to say, today I started working on some simple D3 charts. No longer will I wait until I magically become an amazing javascript developer to learn how to make charts.

  • Vue and Axios

    September 02, 2018

    My notes on getting up and running with vue and axios. this is also the first step in turning my River Flow app which queries the USGS instantaneous flow data from a non server rendering non-route serving app to a Nuxt.js Universal Application (meaning it is rendered on the server before it is served).

  • Notes on Nuxt

    September 01, 2018

    My notes on Nuxt.js.