title | description | author | layout | date | image |
---|---|---|---|---|---|
Energy Density Comparison with Nuclear |
Bar graph showing nuclear vs. conventional energy density on a linear axis ;)
|
nick |
default |
2022-11-17 |
/img/kid_in_atom.jpg |
[Energy density]({% link energy-density.md %}) measures how much energy is in a certain mass of fuel. Relevant xkcd.
<script src='https://cdn.plot.ly/plotly-2.16.1.min.js'></script> <script> let bars = { x: ["Uranium (breeder)","Thorium (breeder)", "Uranium (non-breeder)", "Coal", "Nat Gas", "Lithium"], y: [80.6e6, 79.4e6, 80.3e6/60.0, 30.0, 53.5, 43.0], name: 'Energy density', type: 'bar', marker: { "color": "firebrick", "pattern": { "solidity": 0.5 } } }; var layout = {barmode: 'stack', yaxis: { type: 'linear', autorange: false , title: { text: 'Energy Density (MJ/kg)', }, nticks: 500, range: [0.0, 80.0e6], fixedrange: true }, xaxis: { autotick: true, title: { text: 'Fuel', }, fixedrange: true, }, autosize: true, margin: { t: 0 }, }; var config = { displayModeBar: false, staticPlot: false } let data = [bars]; Plotly.newPlot('plot', data, layout, config ); </script>