View an interactive column chart focusing on a specific topic.
View a single column chart that provides the targeted information you need on your website. Column charts can be displayed for a specific geography, and most commonly, a specific category and metric. You can also customize titles, subtitles, and dimensions. Column charts can be embedded in a website in less than 20 lines of HTML and JavaScript code.
Code snippet
Once you have added the StateBook files to the <head> section of your webpage, this is the only code you need:
<div id="statebook-content"></div>
<script>
Statebook.displayData({
authentication: 'demo',
container: 'statebook-content',
display: 'component',
topic: 'dem-household',
view: 'table:acs-hhd-inc',
});
</script>
Comments
0 comments
Article is closed for comments.