-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cool charts to add to Tax-Calculator #1592
Comments
Change in after tax income by income group. Bonus points for allowing stacked provisions, like this example from Ernie Tedeschi in the NY Times using PolicyBrain output. (The NYT version is a cool looping gif) |
1 similar comment
Change in after tax income by income group. Bonus points for allowing stacked provisions, like this example from Ernie Tedeschi in the NY Times using PolicyBrain output. (The NYT version is a cool looping gif) |
@MattHJensen said in issue #1592:
@MattHJensen then shows a recent example from the New York Times: Seems like many of the charts people are interested in constructing show the population by income decile, but with detail for the top decile. A common approach breaks the top decile into three subgroups: the top percentile (the 0.99-1.00 quantile range), the next four percentiles (the 0.95-0.99 quantile range) and the bottom five percentiles (the 0.90-0.95 quantile range). The Tax Policy Center tables typically show detail for the top income decile. Do we want to add top-decile detail to the distribution and difference tables that use decile bins? @MattHJensen @feenberg @Amy-Xu @andersonfrailey @hdoupe @GoFroggyRun @codykallen |
@hayleefay You should look at this issue and see if you want to contribute anything. |
On Thu, 19 Oct 2017, Martin Holmer wrote:
@MattHJensen said in issue #1592:
Looking for chart ideas and contributors to build the charts
into Tax-Calculator. These charts will be available to
Tax-Calculator users and would be possibilities for adding to
PolicyBrain.
@MattHJensen then shows a recent example from the New York Times:
screen shot 2017-10-19 at 12 38 48 pm
Seems like many of the charts people are interested in constructing show the
population by income decile, but with detail for the top decile. A common
approach breaks the top decile into three subgroups: the top percentile (the
0.99-1.00 quantile range), the next four percentiles (the 0.95-0.99 quantile
range) and the bottom five percentiles (the 0.90-0.95 quantile range).
The Tax Policy Center tables typically show detail for the top income
decile.
Do we want to add top-decile detail to the distribution and difference
tables that use income deciles?
If so, we have a choice about how to do that:
Do we want to show the top decile as a group (like now) and then add the
three top-decile subgroups?
Or do we want to replace the top decile with the three subgroups?
I also see a lot of charts with top 1%, then the next 9% but following TPC
is probably the best thing to do in this case.
dan
…
@MattHJensen @feenberg @Amy-Xu @andersonfrailey @hdoupe @GoFroggyRun
@codykallen
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the
thread.[AHvQVadPVX2daloRN9IOYi6WDuJYqNV7ks5st468gaJpZM4P-W-k.gif]
|
I suppose the problem replacing the top decile with three sub groups is that it makes the impact on the the top income group, visually, three times as important as every other group. You could argue that adding the three broken out groups to the top decile could make it four times more important visually, but there the breakout could be differentiated by color or spacing to mitigate that. I don't have any suggestions about this for now, but it is something that I find somewhat concerning and will be thinking about. |
I mentioned this issue on Twitter:
Ernie Tedeschi replied:
|
@MattHJensen said:
I'm surprised about this whole line of commentary. If this is so important, why did the New York Times publish a horizontal bar chart in which the "Top 1%" bar, the "95-99" bar and the "90-95" bar all have the same width as the other nine decile bars? If you take this line of thinking to its logical conclusion, then the width of the vertical bars in this graph should be different because the number tax units with each filing status is different. Is that what we want? Maybe we should have thought about this more before suggesting that people start developing graphs. Maybe a bar chart is not the best type of chart to be using with these kinds of data. @feenberg @Amy-Xu @andersonfrailey @hdoupe @GoFroggyRun @codykallen @hayleefay |
I imagine the NYT did not place high importance on this. Perhaps they didn't think of it. I certainly don't think it is a necessary feature, so perhaps they didn't either. I don't find it surprising or odd that we would discuss ways to improve a NYT chart.
I think it is less important in that case since the majority of the bars are not a unit that implies sameness (like deciles), but it could be a cool feature.
I either disagree with or don't understand this sentiment / development philosophy. On a feature like this that doesn't have significant downstream dependencies, my view is that we should aim for incremental progress. (same goes for projects that do have significant downstream dependencies, but perhaps to a different extent). As I've expressed, I think #1606 is great. I haven't advocated for not merging that while we have a discussion of this design issue, and I don't see any problem with discussing how to improve the design of charts that are already in tax-calculator.
That's not my takeaway. Some users will appreciate a bar chart, some users will appreciate a percentiles line chart, some users will appreciate tabular data... EDIT: Perhaps the tone of my original comment didn't convey the positivity that I have about the new charting capabilities. Here is the full set of tweets. |
Ernie said:
Another approach would be to include the top 10% decile and then create some subtle visual separation between the bars for the 10 deciles and the bars for 90-95, 90-99, and top 1. They could be separated by a dotted line, say, or could be a different color, or both. |
They didn't distinguish most likely because that's how I submitted my rough draft graphics to them initially. Since my piece was geared towards a wider audience, I didn't want lay people to get bogged down or confused over the width of different bars or any other visual distinction. It's a genuine trade-off and I had to make a choice. There's no "correct" way to balance rigor with accessibility; it should depend on the goals of the specific project. I made my Twitter suggestions under the assumption that you all had already decided internally to add some sort of distinction to the percentile estimates, which is a perfectly defensible choice.
What I've seen CBO do is turn the final decile--or in their case, quintile--into a stacked bar that spins off the Top 1%. You can see an example here. |
@MattHJensen said on October 18, 2017:
Over the past two and a half months, many "cool charts" have been built to visualize Tax-Calculator results. |
If there's interest, I recreated the chart in the New York Times article Tax Bill Calculator: Will Your Taxes Go Up or Down?. It looks like this:
I can put together a PR to add this chart relatively quickly because I already have the code worked out. With regards to @martinholmer's comment that we should consider whether Bokeh is the right package, in this instance I believe that it would work just as well as any other graphing package. Partially because I already have it written for Bokeh, but also because I (or someone else) could go back and replicate the hover tool that gives details about the tax unit as you hover over a dot at a later date, which in my opinion is a pretty cool feature. |
I like this a lot, @andersonfrailey. It is slightly misleading to show cuts in levels by income. My recommendation would be average (effective) tax rate changes in percentage points on the x-axis by income percentile on the y-axis or by income level on the y-axis. |
Thanks for the feedback, @rickecon. I was just playing with this a little and there were a number of units who started with an effective tax rate of 0 then saw it change with the reform. How would you suggest dealing with those cases if working with percent changes? |
On Thu, 4 Jan 2018, andersonfrailey wrote:
Thanks for the feedback, @rickecon. I was just playing with this a little and there
were a number of units who started with an effective tax rate of 0 then saw it change
with the reform. How would you suggest dealing with those cases if working with
percent changes?
You can calculate the percentage change in the average tax without running
in to this problem, which is the result of taking the average of the
percentage change. Notice the difference whether the division occurs
before or after the aggregation. I don't think there is any other
solution.
dan
…
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the
thread.[AHvQVVuOnzU4jKmxuOsiI26DoeW32cjtks5tHR3tgaJpZM4P-W-k.gif]
|
@martinholmer, thanks for the cleanup review. I am fine closing this issue (hopefully without any implicit discouragement to @andersonfrailey for continuing his work on the tornado, just with the view that the next step is probably a PR if he wants to pursue it.) |
Looking for chart ideas and contributors to build the charts into Tax-Calculator. These charts will be available to Tax-Calculator users and would be possibilities for adding to PolicyBrain.
If you are interested in contributing a visualization to Tax-Calculator, look through the comments on this issue for ideas.
If you have an idea for a cool chart or feedback (including itty bitty details) on other posted charts, please leave a comment on this issue.
...
The text was updated successfully, but these errors were encountered: