Demo: Tobacco Tax vs Smoking Prevalence

From Data-gov Wiki

Jump to: navigation, search

Infobox (experimental demo) edit with form
  • name: Demo: Tobacco Tax vs Smoking Prevalence

  • description: This demo compares the smoking prevalence of ten states between 2003 and 2005. Five states have the lowest tax per pack of cigarettes, while the other five have the highest tax.
  • creator(s): Tim Lebo
  • created: August 4, 2010
  • relation(s): PopSciGrid
  • modified: 2010-8-30

live demo here

Contents

Facts about this Demonstration

Live Demo(s)
Video Demo(s)
Data.gov Data source(s)
Other Data source(s)
Technology Used
Related SPARQL
Related Demo(s)


Smoking Prevalence of Ten States (max/min tobacco tax in 2003)

The following snapshot compares the smoking prevalence of ten states between 2003 and 2005. Five states have the lowest tax per pack of cigarettes, while the other five have the highest tax. The lower tax states are green, while the higher tax states are shades of orange. This same coloring is used in the prevalence graph on the left, where lines sloping downward indicate less smoking in the state after a two year period. The color of the line reflects the color of the state in the map and the amount of tax the state imposes. The more orange states have lower prevalence of smoking overall and decrease, while green states tend to have higher prevalence with a similar downward trend. One set of green states is an exception to this decrease in smoking.

legend

  • green: The lower states in 2003
  • orange: The higher tax states in 2003

Smoking Prevalence of Ten States (max/min tobacco tax change from 2003 to 2007)

The following snapshot compares the smoking prevalence of ten states between 2003 and 2005. Five states rose taxes the lowest from 2000 to 2007, while the other five raised taxes the most. Less aggressive states are colored green, while the more aggressive states are shades of orange. The same prevalence information as above is on to the left of this snapshot.

legend

  • green: The less aggressive states (least changes in tobacco tax from 2003 to 2007)
  • orange: The aggressive states (most changes in tobacco tax from 2003 to 2007)

Sample SPARQL query

The following SPARQL query helped gather the information needed for this demo. It can be executed against http://logd.tw.rpi.edu/sparql.

prefix e1: <http://logd.tw.rpi.edu/source/nci-nih-gov/dataset/hints-2003-2005/vocab/enhancement/1/> 
prefix e2: <http://logd.tw.rpi.edu/source/nci-nih-gov/dataset/hints-2003-2005/vocab/enhancement/2/> 

prefix census_e1: <http://logd.tw.rpi.edu/source/census-gov/dataset/us_regdiv/vocab/enhancement/1/>

select ?name ?division ?year (count(?respondent) as ?count) ?status 
where {
   graph <http://logd.tw.rpi.edu/source/nci-nih-gov/dataset/hints-2003-2005/version/2010-Jun-09> {
      ?respondent
        e1:survey_year     ?year;
        e1:smoking_status  ?status;
        e1:census_division ?division .
   }
   graph <http://logd.tw.rpi.edu/source/census-gov/dataset/us_regdiv/version/2000-Sep-07> {
      ?state census_e1:census_division ?division ; census_e1:name ?name .
   }
} group by ?division ?name ?year ?status 
  order by ?division ?name ?year ?status
Facts about Demo: Tobacco Tax vs Smoking PrevalenceRDF feed
Data sourceDataset 10026  +, and Dataset 10028  +
Dcterms:created4 August 2010  +
Dcterms:creatorTim Lebo  +
Dcterms:descriptionThis demo compares the smoking prevalence of ten states between 2003 and 2005. Five states have the lowest tax per pack of cigarettes, while the other five have the highest tax.
Dcterms:modified2010-8-30
Dcterms:relationPopSciGrid  +
Foaf:depictionhttp://data-gov.tw.rpi.edu/w/images/d/da/Nih-aug-2010-tax-amount-vs-prevalence.png  +
Foaf:nameDemo: Tobacco Tax vs Smoking Prevalence
ImageNih-aug-2010-tax-amount-vs-prevalence.png  +
Live demoHttp://logd.tw.rpi.edu/test/lod-scigrid-storyAB/verbatim.html  +
Skos:altLabelDemo: Tobacco Tax vs Smoking Prevalence  +, demo: tobacco tax vs smoking prevalence  +, and DEMO: TOBACCO TAX VS SMOKING PREVALENCE  +
Technology usedRDF  +, SPARQL  +, Protovis  +, and JQuery  +
Personal tools
internal pages