by clintmcmahon | Sep 20, 2022 | Code, Data Viz, JavaScript, React, Weather
In this post I show a React Highcharts example to demostrate how I’m using Highcharts with React in my data visualization projects. Assuming you are starting from scratch I’ll go from start to end. If you already have an app created then you can skip the...
by clintmcmahon | Jul 18, 2022 | Code, JavaScript, Music, React
KEXP is a radio station in Seattle that I’ve listened to regularly almost every day for the past twenty years. Since I live in Minneapolis I use their streaming service to listen via their app, my Sonos or a desktop player. During the work day I via my desktop...
by clintmcmahon | Jul 14, 2022 | Code, JavaScript, React
In my React components I usually end up doing an inline comparison with conditional operators to determine what output to render. In these cases I can use inline if with logical && operator because React allows embedded expressions in JSX. Embedded expressions...
by clintmcmahon | Apr 21, 2022 | Code, JavaScript, Weather
I’m currently writing an app to display and chart record high and low temperatures for locations around the United States. As I was writing the station selector I realized that I would need to create a list of all weather stations by state. Because of the large...
by clintmcmahon | Dec 6, 2021 | Code, JavaScript, Weather
I’m going to create a website where users can get a quick look at historical record high temperatures throughout the United States along with what the average temperature is for any given date within the year. Users will select a location and date to return a...
by clintmcmahon | Feb 17, 2021 | JavaScript, Code
In addition default search box in DataTables sometimes it’s nice to have the ability to filter by a specific DataTable column. This example shows how to use a custom drop-down menu to filter a DataTable by column value. I’m going to create a drop-down menu...