Tag Archives: Visualizations

Following are visualizations of data. Many are interactive and created using Tableau Public. In some cases I’ve recorded myself using the visualization to tell a story, and all you have to do is watch.

Spending in the States

The National Association of State Budget Officers publishes spending data for the states. In this interactive visualization, I present the data in a graphical and flexible format.

Data for each state is subdivided by fund (see below for definitions). Data through 2015 is actual, while data for fiscal year 2016 is estimated. The figures for the state “United States” were computed by summing the spending in all states, then dividing by the U.S. population. These figures are not adjusted for inflation.

Of note is the tab comparing spending in states that have an income tax vs. those that have no income tax.

Click here to access the visualization.

Example from the visualization. Click for larger.
Example from the visualization. Click for larger.

From NASBO, definitions of the funds.

General Fund: The predominant fund for financing a state’s operations. Revenues are received from broad-based state taxes. However, there are differences in how specific functions are financed from state to state.

Federal Funds: Funds received directly from the federal government.

Other State Funds: Expenditures from revenue sources that are restricted by law for particular governmental functions or activities. For example, a gasoline tax dedicated to a highway trust fund would appear in the “Other State Funds” column. For higher education, other state funds can include tuition and fees. For Medicaid, other state funds include provider taxes, fees, donations, assessments, and local funds.

Bonds: Expenditures from the sale of bonds, generally for capital projects.

State Funds: General funds plus other state fund spending, excluding state spending from bonds.

Airport traffic statistics

Airport traffic data presented in an interactive visualization.

Example from the visualization, showing Wichita compared to all airports. Click for larger.
Example from the visualization, showing Wichita compared to all airports. Click for larger.
The source of this data is TranStats, a service of the Bureau of Transportation Statistics, specifically table T-100 Domestic Segment (U.S. Carriers). TranStats describes the table: “This table contains domestic non-stop segment data reported by U.S. air carriers, including carrier, origin, destination, aircraft type and service class for transported passengers, freight and mail, available capacity, scheduled departures, departures performed, aircraft hours, and load factor when both origin and destination airports are located within the boundaries of the United States and its territories.”

This data is produced monthly, but this visualization holds data only through the complete year 2015. Visualization created by the author using Tableau Public.

Click here to access the visualization.

Personal income in the states

An interactive visualization of personal income growth and change in the states.

The Bureau of Economic Analysis, an agency of the United States Department of Commerce, collects and analyses data regarding the U.S. and world economies. One series is personal income, defined by BEA as “Personal income is the income received by, or on behalf of, all persons from all sources: from participation as laborers in production, from owning a home or business, from the ownership of financial assets, and from government and business in the form of transfers. It includes income from domestic sources as well as the rest of world. It does not include realized or unrealized capital gains or losses.”

This interactive visualization presents personal income data from BEA. Data is subdivided by state, along with regions and the entire country. There are four views of data. Some work best with just two or three states, while others can show many states. You may choose a range of dates (this data is quarterly). Also, select one or more states or regions. Click on the legend to highlight one or more series.

Click here to use the visualization.

Example from the visualization, showing Kansas and the United States. Click for larger.
Example from the visualization, showing Kansas and the United States. Click for larger.

Kansas school spending: Visualization

An interactive visualization of revenue and spending data for Kansas school districts.

The accompanying visualization holds both nominal dollar amounts and amounts adjusted to reflect 2016 dollars. Data includes state aid, local aid, federal aid, and total spending for each school district, both total and per pupil. The visualization includes both tables and charts.

Kansas school spending, entire state, through 2016. Click for larger. This is an example from the visualization.
Kansas school spending, entire state, through 2016. Click for larger. This is an example from the visualization.
For the school year ending in 2016, total spending per pupil was $13,015. This is down from an inflation-adjusted $13,222 for 2015, a decline of 1.56 percent. Considering state funding only, per-pupil funding for 2016 was $8,540, down from an inflation-adjusted $8,631 for 2016, a decline of 1.05 percent.

Kansas Policy Institute has spending data without KPERS (retirement) spending at Non-KPERS funding sets another per-pupil record in 2015-16.

Spending and revenue data is from Kansas State Department of Education. Inflation-adjusted data calculated using Consumer Price Index, all items, 1982-84=100 (series CUUR0000SA0) from U.S. Bureau of Labor Statistics. The price level used for 2016 is for the first half of 2016. Visualization created using Tableau Public.

Click here to open the visualization in a new window.

Wichita MSA employment

An interactive visualization of Wichita-area employment by industry.

The Bureau of Labor Statistics, part of the United States Department of Labor, makes monthly employment statistics available. I’ve gathered them for the Wichita metropolitan area and present them in an interactive visualization.

This data comes from the Current Employment Statistics, which is a monthly survey of employers.1

The three tabs along the top of the visualization represent three different views of the data; one table and two charts. Employment figures are in thousands. All series except one are not seasonally adjusted.

Click here to access the visualization. The visualization was created by myself using Tableau Public.

Example from the visualization and instructions. Click for larger.
Example from the visualization and instructions. Click for larger.


Notes

  1. Bureau of Labor Statistics. Current Employment Statistics data and their contributions as key economic indicators. www.bls.gov/opub/mlr/2016/article/current-employment-statistics-data-and-their-contributions-as-key-economic-indicators.htm.

Kansas, a frugal state?

Is Kansas a frugal state, compared to others?

frugal-kansas-on-facebook-2016-10-12-excerptOn Facebook, a person wrote “We were already a frugal state …” (I’ve obscured the name to protect the uninformed.)

Is this true? What is the state and local government spending in Kansas, on a per-person basis? How does it compare to other states?

Every five years the U.S. Census Bureau conducts a census of governments. In its own words: “The Census of Governments identifies the scope and nature of the nation’s state and local government sector; provides authoritative benchmark figures of public finance and public employment; classifies local government organizations, powers, and activities; and measures federal, state, and local fiscal relationships.”1

I’ve gathered data from the 2012 census of governments — which is the most recent — and made it available in an interactive visualization. Nearby is a snapshot from the visualization, showing Kansas and nearby states, and a few others. (Using the visualization, you may select your own set of states to compare.)

In the visualization, you can see that Kansas spends quite a bit more than nearby states. Of special interest is Minnesota, which is often used as an example of a high-tax state, and a state with excellent schools and services. But Minnesota spends barely more than Kansas, on a per-person basis.

What about Colorado? It seems that Kansans often look to Colorado as a state full of bounty. But Kansas outspends Colorado. Same for New Mexico, Wisconsin, Texas, and — especially — Missouri.

So: Is Kansas a frugal state? It doesn’t seem it is.

Click here to access and use the visualization.

State and local government employment and costs, selected states. Click for larger.
State and local government employment and costs, selected states. Click for larger.


Notes

  1. U.S. Census Bureau. Census of Governments. Available at www.census.gov/govs/cog/.

GDP by state and component

An interactive visualization of gross domestic product by state and industry.

The Bureau of Economic Analysis, a unit of the U.S. Department of Commerce, gathers data about economic output, known as gross domestic product. The visualization presented here presents this data in tabular and graphic form.

The GDP figures are real, meaning adjusted for inflation. They are annual numbers through 2015.

BEA industry classification, showing subtotal and total classifications
BEA industry classification, showing subtotal and total classifications
As illustrated below, the visualization has three tabs, meaning three different views of data. By using the controls at the right of the visualization, you may select one or more states, and one or more industries. By clicking on entries in the legend, you may highlight one or more series. (Use Ctrl+click to select more than one.)

As indicated in the nearby table, some of the “industries” are actually subtotals of several industry components. The industry “All industry total” is the total GDP of all industries.

Source of data is Bureau of Economic Analysis, an agency of the United States Department of Commerce. Click here to access this visualization.

GDP by state and components. Click for larger.
GDP by state and components. Click for larger.

Populations of the states

An interactive table and charts of populations in the states and regions, starting in 1929.

How have the states grown in population since 1929? Growth varies greatly.

In the accompanying visualization, one chart of the growth of population uses a logarithmic scale. This better shows a wide range of values. On this scale, negative values can’t be shown. The example shown in this article highlights Kansas against the other states.

Click here to access this visualization.

Source of data is Bureau of Economic Analysis, an agency of the United States Department of Commerce.

Population growth in the states, Kansas highlighted, using logarithmic scale. Click for larger.
Population growth in the states, Kansas highlighted, using logarithmic scale. Click for larger.

GDP by metropolitan area and component

An interactive visualization of gross domestic product by metro area and industry.

The Bureau of Economic Analysis, a unit of the U.S. Department of Commerce, gathers data about economic output, known as gross domestic product. The visualization presented here presents this data in tabular and graphic form.

The GDP figures are real, meaning adjusted for inflation. They are annual numbers through 2015.

BEA industry classification, showing subtotal and total classifications
BEA industry classification, showing subtotal and total classifications
As illustrated below, the visualization has three tabs, meaning three different views of data. By using the controls at the right of the visualization, you may select one or more metropolitan areas, and one or more industries. By clicking on entries in the legend, you may highlight one or more series. (Use Ctrl+click to select more than one.)

As indicated in the nearby table, some of the “industries” are actually subtotals of several industry components. The industry “All industry total” is the total GDP of all industries.

Source of data is Bureau of Economic Analysis, an agency of the United States Department of Commerce.

Click here to access this visualization.

Example from the visualization. Click for larger.
Example from the visualization. Click for larger.

Kansas tax receipts

Kansas tax receipts by category, presented in an interactive visualization.

The Kansas Division of the Budget publishes monthly statistics regarding tax collections. These figures have been gathered and are presented in an interactive visualization. In the visualization, there are these available tabs:

Table.s: A table of data. For each month the two data items supplied by the state are the actual value and the estimated. This table also holds the computed variance, or difference, between the actual value and the estimated value. A positive number means the actual value was greater than the estimated value.

Collections: Shows monthly collections for each component. Because monthly numbers vary widely, this data is presented as the moving average of the previous 12 months.

Annual Change: Shows the change from the same month of the previous year. A positive value means the value for this month is greater than the same month last year.

Estimates: The Governor’s Consensus Revenue Estimating Working Group provides monthly estimates. This chart shows the variance, or difference, between the actual value and the estimated value. A positive number means the actual value was greater than the estimated value.

Running Total Estimates: This is the cumulative sum of the estimate variances, reset to zero at the start of each fiscal year (July 1).

Running Total Change from Prior Year: This is the cumulative sum of the monthly changes from the prior year, reset to zero at the start of each fiscal year (July 1).

For the past two years, individual income tax collections have been relatively flat. There are variations each month, but overall the trend is slightly up. Corporate income tax collections are on a slight downward trajectory.

Retail sales tax and compensating use tax have been mostly rising for two years. A higher sales tax rate took effect on July 1, 2015, with the rate rising from 6.15 percent to 6.50 percent.

Cigarette taxes have risen rapidly since July 2015 when higher tax rates on these products took effect. The same trend is present in the tobacco products tax.

Severance taxes — tax collected on natural gas and oil as it is extracted from the ground — have been on a downward trend as prices for these produces have fallen. This is a sizable tax. In June 2014 collections of this tax were running at about $143 million per year. For September 2016, the rate is $22 million annually.

Click here to use the visualization.

Source of data is Kansas Division of the Budget.

School spending in the states

School spending in the states, presented in an interactive visualization.

The Elementary/Secondary Information System (ElSi) is a project of National Center for Education Statistics (NCES). NCES is “the primary federal entity for collecting and analyzing data related to education in the U.S. and other nations. NCES is located within the U.S. Department of Education and the Institute of Education Sciences.”1 Here is data from ElSi regarding per-pupil revenue and spending in the states.

Near the end of this article are definitions of each measure. There are measures for total expenditures and total current expenditures. The major difference is that the current expenditures measure does not include the cost of construction of schools and the expense of debt associated with that.

Of note, the values for “United States” are the average of the values for the states, computed with equal weight without regard for the total spending or number of students in each state.

As of the date of publication, data was available through the school year ending in 2013.

Since these data series cover substantial periods of time, I’ve also used the Consumer Price Index2 to adjust the figures for the effects of inflation. Each measure has a companion whose name starts with “i.” This is the value adjusted for inflation, based on the CPI. You may choose to view the values as reported by ElSi, which are in current dollars. These are the values not adjusted for inflation. Or, you may use the “i.” measures, which are in constant dollars.3

This data is presented in an interactive visualization created using Tableau Public. To access the visualization, click here. There are three views of this data, accessed by tabs along the top.

School spending in Kansas and the United States. Click for larger.
School spending in Kansas and the United States. Click for larger.

Definitions of measures

Total Revenues (TR) per Pupil (MEMBR) [State Finance]
Total revenues per student ate the total revenues from all sources (tr) divided by the fall membership as reported in the state finance file.

Total Expenditures (TE11+E4D+E7A1) per Pupil (MEMBR) [State Finance]
This is the Total Expenditures (Digest) divided by the fall membership as reported in the state finance file. The Total Expenditures (Digest) is the subtotal of Direct State Support Expenditures for Private Schools (e4d).

Total Current Expenditures for Public El-Sec (TE5) per Pupil (MEMBR) [State Finance]
This is the total current expenditures for public elementary and secondary education (te5) divided by the fall membership as reported in the state finance file. The Expenditures for equipment, non-public education, school construction, debt financing and community services are excluded from this data item.

Local Revenues (STR1+R2) per Pupil (MEMBR) [State Finance]
Local revenues per student are the total of all local revenue categories (strl and r2) divided by the fall membership as reported in the state finance file. Local revenues are raised and allocated by local governments.

State Revenues (R3) per Pupil (MEMBR) [State Finance]
State revenues per student are revenues received by the LEAs from the state (r3). divided by the fall membership as reported in the state finance file.

Federal Revenues (STR4) per Pupil (MEMBR) [State Finance]
Federal revenues per student are federal revenues (str4) divided by the fall membership as reported in the state finance file.


Notes

  1. National Center for Education Statistics. About us. nces.ed.gov/about/.
  2. United States Bureau of Labor Statistics. Consumer Price Index. www.bls.gov/cpi/.
  3. The U.S. Census Bureau explains: ” Constant-dollar values represent an effort to remove the effects of price changes from statistical series reported in dollar terms. The result is a series as it would presumably exist if prices were the same throughout as they were in the base year-in other words, as if the dollar had constant purchasing power.” Current versus Constant (or Real) Dollars. www.census.gov/topics/income-poverty/income/guidance/current-vs-constant-dollars.html.

School staffing and students

Trends for the nation and each state in teachers, administrators, and students, presented in an interactive visualization.

Each year states report data to the National Center for Education Statistics. While NCES provides methods for extracting data, it isn’t an easy process, and opportunities to produce charts are limited. Here I present trends in teachers, administrators, and students for each state from 1998 to the school year ending in summer 2014, the most recent year of data that is available.

For each state, the charts show the growth in teachers, administrators, and students. For both teachers and students, the value used is full-time equivalency. A table also shows pupil/teacher ratio and pupil/administrator ratio.

There are some obvious mistakes in the data. An example is the number of administrators reported for Kansas for years 2007 through 2009. Figures obtained directly from Kansas State Department of Education show no sudden drop and increase in the count of administrators. Nonetheless, I have presented the data as retrieved from NCES.

Sorting on columns.
Sorting on columns.
For the nation as a whole, the count of students has increased 8.5 percent since 1998. The count of teachers (full-time equivalent) rose by 13.4 percent, and the number of administrators by 19.4 percent. Individual states vary widely, with many having increased administrators at a far faster pace than either students or teachers. Some states, however, have reduced the number of administrators, or the rate has grown slower than students and teachers.

Click here to open and use the visualization.

Data is from the Elementary/Secondary Information System (ElSi) at National Center for Education Statistics, part of the U.S. Department of Education and the Institute of Education Sciences. The number of administrators is calculated as the sum of “LEA Administrators” and “LEA Administrative Support Staff.” LEA Administrators is defined by NCES as “The count of Local education agency superintendents, deputy and assistant superintendents, and other persons with district-wide responsibilities such as business managers and administrative assistants. Excludes supervisors of instructional or student support staff.” LEA Administrative Support Staff is defined as “The count of Staff members who provide direct support to LEA administrators, including secretarial and other clerical staff.”

Using the visualization. Click for larger.
Using the visualization. Click for larger.

Kansas tax receipts

Kansas tax receipts by category, presented in an interactive visualization.

The Kansas Division of the Budget publishes monthly statistics regarding tax collections. These figures have been gathered and are presented in an interactive visualization.

Example from the visualization.
Example from the visualization.
For the past two years, individual income tax collections have been relatively flat. There are variations each month, but overall the trend is slightly up. Corporate income tax collections are on a slight downward trajectory.

Retail sales tax and compensating use tax have been rising for two years. A higher sales tax rate took effect on July 1, 2015, with the rate rising from 6.15 percent to 6.50 percent.

Cigarette taxes have risen rapidly since July 2015 when higher tax rates on these products took effect. The same trend is present in the tobacco products tax.

Severance taxes — tax collected on natural gas and oil as it is extracted from the ground — have been on a downward trend as prices for these produces have fallen. This is a sizable tax. In June 2014 collections of this tax were running at about $143 million per year. Two year later the rate is $28 million annually.

Click here to use the visualization.

Source of data is Kansas Division of the Budget.

State and local government employee and payroll

Considering all state and local government employees in proportion to population, Kansas has many, compared to other states, and especially so in education.

State and Local Government Employee and Payroll. Click for larger.
State and Local Government Employee and Payroll. Click for larger.
When considering all state and local government employees, Kansas spent $249.73 per person on payroll (March only).1 This was 15th highest among the states, District of Columbia, and nation as a whole. There were 14.9 citizens for each FTE (full-time equivalent employee), which ranks fourth highest.

In other words, Kansas has many government employees compared to other states, and these employees are costly, again compared to other states.

When considering all elementary and secondary education employees, Kansas spent $93.36 per person on payroll (March only). This was 15th highest among the states, District of Columbia, and nation as a whole. There were 33.8 citizens for each FTE (full-time equivalent employee), which ranks third highest.

In other words, Kansas has many elementary and secondary education employees compared to other states, and these employees are costly, again compared to other states.

Similar results are found for higher education employees. Fortunately, Kansas has zero employees working in state-owned liquor stores.

In the visualization you may create your own tables. Click here to access the visualization. Source of data is U.S. Census Bureau.2 Visualization created using http://www.census.gov/govs/apes/.


Notes

  1. For total payroll (both full-time and part-time employees), the Census Bureau reports a value for a single month, that being March.
  2. U.S. Census Bureau. 2014 Annual Survey of Public Employment and Payroll. www.census.gov/govs/apes/.

State and local direct general expenditures

State and Local Direct General Expenditures, Per Capita, Kansas highlighted.
State and Local Direct General Expenditures, Per Capita, Kansas highlighted.
An interactive visualization of state and local direct general expenditures, per capita. Click here to open the visualization.

Data is from State & Local Government Finance Data Query System. Available here. The Urban Institute-Brookings Institution Tax Policy Center. Data from U.S. Census Bureau, Annual Survey of State and Local Government Finances, Government Finances, Volume 4, and Census of Governments (1977-2013). Date of Access: (20-Jun-2016).

GDP by state and industry

An interactive visualization of gross domestic product by state and industry.

The Bureau of Economic Analysis, an agency of the United States Department of Commerce, has released Gross Domestic Product figures for the year 2015. I’ve gathered this data and present in it an interactive visualization using Tableau Public. This data is grouped by states and regions, and also by major categories of industry.

Source of data is Bureau of Economic Analysis, Regional Economic Accounts. Values are in current dollars.

Of note: The list of industries is not exclusive. That is, some categories such as “All industry total” and “Private industries” contain other categories. Use caution when selecting multiple categories.

Click here to access the visualization.

GDP by State and Industry example 2016-06

Kansas state tax collections, compared

An interactive visualization of tax collections by state governments shows Kansas distinguished from some of its neighbors.

Per-capita tax collections, Kansas and nearby states. Click for larger.
Per-capita tax collections, Kansas and nearby states. Click for larger.
As shown in the nearby illustration, Kansas collects more taxes than some nearby states, on a per-person basis. This information should guide Kansas legislators and policymakers and Kansas prepares to balance its budget. Does Kansas want to further separate itself from its neighbors with even higher taxes?

The values are from the United States Census Bureau, and are for tax collections by the state only. Local governmental entities like cities, counties, townships, improvement districts, cemetery districts, library districts, drainage districts, watershed districts, and school districts are not included.

You may use this interactive visualziaton to prepare your own analysis and illustrations. Of particular interest is the “State Total” tab. Here you can select a number of states and compare their tax burdens. (Probably three or four states at a time is the practical limit.)

Data is as collected from the United States Census Bureau, Annual Survey of State Government Tax Collections, and not adjusted for inflation. Visualization created using Tableau Public. Click here to access the visualization.

Using the visualization. Click for larger.
Using the visualization. Click for larger.

GDP by state and industry

An interactive visualization of gross domestic product by state and industry from the Bureau of Economic Analysis.

Composition of GDP by State, Kansas and U.S. Click for larger version.
Composition of GDP by State, Kansas and U.S. Click for larger version.
The Bureau of Economic Analysis is an agency of the United States Department of Commerce. BEA describes its role as “Along with the Census Bureau, BEA is part of the Department’s Economics and Statistics Administration. BEA produces economic accounts statistics that enable government and business decision-makers, researchers, and the American public to follow and understand the performance of the Nation’s economy. To do this, BEA collects source data, conducts research and analysis, develops and implements estimation methodologies, and disseminates statistics to the public.”

A relatively new series of data produced by BEA is gross domestic product (GDP) by state for 21 industry sectors on a quarterly basis. BEA defines GDP as “the value of the goods and services produced by the nation’s economy less the value of the goods and services used up in production.” It is the value of the final goods and services produced.

In describing this data, BEA says “These new data provide timely information on how specific industries contribute to accelerations, decelerations, and turning points in economic growth at the state level, including key information about the impact of differences in industry composition across states.” This data series starts in 2005.

I’ve gathered the data for this series for all states and present it in an interactive visualization using Tableau Public. I present the series in real dollars, meaning that BEA adjusted the numbers to account for changes in the price level, or inflation.

Click here to open the visualization.

Growth of gross domestic product of manufacturing for Kansas and the United States, illustrating volatility in Kansas. Click for larger.
Growth of gross domestic product of manufacturing for Kansas and the United States, illustrating volatility in Kansas. Click for larger.

Kansas school salaries

Kansas school salaries for superintendents, principals, and teachers presented in an interactive visualization for each district, updated for 2016 data.

Recently Kansas Policy Institute noted the discrepancy in salary increases for Kansas public school management as compared to teachers. See Pay raises to superintendents and principals far outpace those to teachers.

In the article, David Dorsey writes: “A widely-shared solution to improving student outcomes is to put more money in the classroom. What does it say about the importance of student achievement to local school boards and administrations when pay increases are disproportionately higher to those who are not in the classroom?”

And later: “Much has been documented about teacher shortages, especially due to those leaving after only a few years in the profession. One way to reverse that trend would be for districts to make spending choices that would support the commitment to keeping quality teachers.”

Kansas State Department of Education has released salary figures for districts for the current school year, fiscal year 2016. Statewide, since 2008, the KSDE data shows these cumulative salary increases:

Superintendents: 12.2 percent
Principals: 11.8 percent
Teachers: 8.8 percent

If we start the comparison in 2009 the difference is larger, with increases of 8.2 percent for principals and 4.9 percent for teachers.

It’s also useful to look at individual districts. For example, for the Wichita public school district, there are these cumulative salary increases since 2008:

Superintendent: 53.9 percent
Principals: 7.0 percent
Teachers: 2.3 percent

The Wichita district has just one superintendent, so no matter how much the salary rises, it’s still the salary for just a single person and has a negligible effect on total district payroll costs. There are, however, 89 principals, so the increase for this category of employee matters much more.

But you have to wonder: What about the teachers?

I’ve gathered the data and present it in an interactive visualization. You may select any single district, or use district 999 for statewide totals. Click here to open the visualization in a new window. Data is from Kansas State Department of Education. Figures include fringe benefits and are not adjusted for inflation. Visualization created using Tableau Public. There are several missing values which can make the percentage change invalid for a single year.

Kansas school salaries. Click for larger.
Kansas school salaries. Click for larger.