What's the best way to plot a bar graph with large numeric difference in values?What is the difference between affinity matrix eigenvectors and graph Laplacian eigenvectors in the context of spectral clustering?What are the best way to handle missing valuesHow to plot a 3-axis bar chart with matplotlib (and pandas + jupyter)What's the best classification model for this recommendation engine?How to best visualize data when outliers lead to lack of contrasting colors for the rest of the plot?Aggregating small values in a frequency bar plotWhat's an efficient way to plot many features for EDA in python?What is the difference between symmetric bipartite graphs and a complete bipartite graph?Is there a way to Label/Annotate My Bubble Plot (Scatter plot with a z-axis) on matplotlib?Binary Search Tree with categorical and numeric values in python
How did Arya get her dagger back from Sansa?
How can I get a job without pushing my family's income into a higher tax bracket?
Summing the values of a sequence using expl3
How to get a product new from and to date in phtml file in magento 2
Comment rendre "naysayers" ?
Would a 1/1 token with persist dying trigger on death effects a second time?
Is there a legal ground for stripping the UK of its UN Veto if Scotland and/or N.Ireland split from the UK?
How can I close a gap between my fence and my neighbor's that's on his side of the property line?
Using DeleteCases with a defined function with two arguments as a pattern
Why is C# in the D Major Scale?
Can't remove one character of space in my environment
Can the 歳 counter be used for architecture, furniture etc to tell its age?
What is the name of this hexagon/pentagon polyhedron?
How to model the curly cable part of the phone
CRT Oscilloscope - part of the plot is missing
Identifying my late father's D&D stuff found in the attic
A foe leaves the reach of my 5-foot reach sword. Can I make an Opportunity Attack with my 10-foot reach whip?
What are the spoon bit of a spoon and fork bit of a fork called?
Can there be a single technologically advance nation, in a continent full of non-technologically advance nations
Ubuntu 19.04 python 3.6 is not working
Is there formal test of non-linearity in linear regression?
Python password manager
On which topic did Indiana Jones write his doctoral thesis?
How to give very negative feedback gracefully?
What's the best way to plot a bar graph with large numeric difference in values?
What is the difference between affinity matrix eigenvectors and graph Laplacian eigenvectors in the context of spectral clustering?What are the best way to handle missing valuesHow to plot a 3-axis bar chart with matplotlib (and pandas + jupyter)What's the best classification model for this recommendation engine?How to best visualize data when outliers lead to lack of contrasting colors for the rest of the plot?Aggregating small values in a frequency bar plotWhat's an efficient way to plot many features for EDA in python?What is the difference between symmetric bipartite graphs and a complete bipartite graph?Is there a way to Label/Annotate My Bubble Plot (Scatter plot with a z-axis) on matplotlib?Binary Search Tree with categorical and numeric values in python
$begingroup$
I'm graphing the value of the Ruble against the US Dollar in the 1990s. There was hyper-inflation from 1992-1997 (where the "y" values expanded from 125 to 6000). On Jan 1st 1998, the government revalued the money to 5. Since then the number has trended upward but has only reached 70 or so.
This creates a problem in my bar or line graph. You can't understand the low values after the stabilization. Any suggestions to help with this discrepancy when viewing the whole dataset in one graph?
Plotting using matplotlib
python visualization graphs matplotlib
$endgroup$
add a comment |
$begingroup$
I'm graphing the value of the Ruble against the US Dollar in the 1990s. There was hyper-inflation from 1992-1997 (where the "y" values expanded from 125 to 6000). On Jan 1st 1998, the government revalued the money to 5. Since then the number has trended upward but has only reached 70 or so.
This creates a problem in my bar or line graph. You can't understand the low values after the stabilization. Any suggestions to help with this discrepancy when viewing the whole dataset in one graph?
Plotting using matplotlib
python visualization graphs matplotlib
$endgroup$
$begingroup$
Is it necessary to see the entire graph at once? Is it really meaningful to see comparisons between each side of the arbitrary revaluation? Does the data need to be directly, easily interpretable?
$endgroup$
– Upper_Case
Apr 9 at 20:12
$begingroup$
It would be nice. I've produced two individual graphs (before and after the revaluation). But if I wanted to view a graph like the image posted, could I view it in a different way, such as a Logarithmic scale? or to put an <...> in the y axis at some point to save space? Just wondering what others do in this situation.
$endgroup$
– Peter Arsenault
Apr 9 at 20:20
1
$begingroup$
I think you should use a log scale but if you are going to present this to someone, make sure you be emphatic about it!
$endgroup$
– Pedro Henrique Monforte
Apr 9 at 20:55
add a comment |
$begingroup$
I'm graphing the value of the Ruble against the US Dollar in the 1990s. There was hyper-inflation from 1992-1997 (where the "y" values expanded from 125 to 6000). On Jan 1st 1998, the government revalued the money to 5. Since then the number has trended upward but has only reached 70 or so.
This creates a problem in my bar or line graph. You can't understand the low values after the stabilization. Any suggestions to help with this discrepancy when viewing the whole dataset in one graph?
Plotting using matplotlib
python visualization graphs matplotlib
$endgroup$
I'm graphing the value of the Ruble against the US Dollar in the 1990s. There was hyper-inflation from 1992-1997 (where the "y" values expanded from 125 to 6000). On Jan 1st 1998, the government revalued the money to 5. Since then the number has trended upward but has only reached 70 or so.
This creates a problem in my bar or line graph. You can't understand the low values after the stabilization. Any suggestions to help with this discrepancy when viewing the whole dataset in one graph?
Plotting using matplotlib
python visualization graphs matplotlib
python visualization graphs matplotlib
asked Apr 9 at 19:52
Peter ArsenaultPeter Arsenault
31
31
$begingroup$
Is it necessary to see the entire graph at once? Is it really meaningful to see comparisons between each side of the arbitrary revaluation? Does the data need to be directly, easily interpretable?
$endgroup$
– Upper_Case
Apr 9 at 20:12
$begingroup$
It would be nice. I've produced two individual graphs (before and after the revaluation). But if I wanted to view a graph like the image posted, could I view it in a different way, such as a Logarithmic scale? or to put an <...> in the y axis at some point to save space? Just wondering what others do in this situation.
$endgroup$
– Peter Arsenault
Apr 9 at 20:20
1
$begingroup$
I think you should use a log scale but if you are going to present this to someone, make sure you be emphatic about it!
$endgroup$
– Pedro Henrique Monforte
Apr 9 at 20:55
add a comment |
$begingroup$
Is it necessary to see the entire graph at once? Is it really meaningful to see comparisons between each side of the arbitrary revaluation? Does the data need to be directly, easily interpretable?
$endgroup$
– Upper_Case
Apr 9 at 20:12
$begingroup$
It would be nice. I've produced two individual graphs (before and after the revaluation). But if I wanted to view a graph like the image posted, could I view it in a different way, such as a Logarithmic scale? or to put an <...> in the y axis at some point to save space? Just wondering what others do in this situation.
$endgroup$
– Peter Arsenault
Apr 9 at 20:20
1
$begingroup$
I think you should use a log scale but if you are going to present this to someone, make sure you be emphatic about it!
$endgroup$
– Pedro Henrique Monforte
Apr 9 at 20:55
$begingroup$
Is it necessary to see the entire graph at once? Is it really meaningful to see comparisons between each side of the arbitrary revaluation? Does the data need to be directly, easily interpretable?
$endgroup$
– Upper_Case
Apr 9 at 20:12
$begingroup$
Is it necessary to see the entire graph at once? Is it really meaningful to see comparisons between each side of the arbitrary revaluation? Does the data need to be directly, easily interpretable?
$endgroup$
– Upper_Case
Apr 9 at 20:12
$begingroup$
It would be nice. I've produced two individual graphs (before and after the revaluation). But if I wanted to view a graph like the image posted, could I view it in a different way, such as a Logarithmic scale? or to put an <...> in the y axis at some point to save space? Just wondering what others do in this situation.
$endgroup$
– Peter Arsenault
Apr 9 at 20:20
$begingroup$
It would be nice. I've produced two individual graphs (before and after the revaluation). But if I wanted to view a graph like the image posted, could I view it in a different way, such as a Logarithmic scale? or to put an <...> in the y axis at some point to save space? Just wondering what others do in this situation.
$endgroup$
– Peter Arsenault
Apr 9 at 20:20
1
1
$begingroup$
I think you should use a log scale but if you are going to present this to someone, make sure you be emphatic about it!
$endgroup$
– Pedro Henrique Monforte
Apr 9 at 20:55
$begingroup$
I think you should use a log scale but if you are going to present this to someone, make sure you be emphatic about it!
$endgroup$
– Pedro Henrique Monforte
Apr 9 at 20:55
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
A log scale will make the difference before and after revaluation look less extreme, and a log transformation is usually pretty defensible for things measured in units of currency (especially when there are no 0-value entries). Other transformations exist, but since this is mostly for aesthetics I don't think that you'd need much that a log transformation couldn't offer.
Fiddling with multiple vertical axes and continuity breaks may help, but at an almost-guaranteed cost of making the graph very difficult to view and interpret correctly. If you need to show both periods, I would probably log transform.
You will know your needs far better than I do, but I do question a little bit how valuable seeing the before and after this way is. The revaluation was an arbitrary decision introduced at an arbitrary time, and behavior of the currency before the revaluation is probably not very informative of anything that happened afterwards (and vice-versa). It's far from clear to me that there is much value in showing both at once like this, at least from my naïve look at a single graph.
The main reason I can think of to show both at once this way is to display how extreme the inflation was, in which case the scale differences would be a feature and not a bug.
$endgroup$
$begingroup$
thank you for your answer and advice.
$endgroup$
– Peter Arsenault
Apr 11 at 13:52
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48990%2fwhats-the-best-way-to-plot-a-bar-graph-with-large-numeric-difference-in-values%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
A log scale will make the difference before and after revaluation look less extreme, and a log transformation is usually pretty defensible for things measured in units of currency (especially when there are no 0-value entries). Other transformations exist, but since this is mostly for aesthetics I don't think that you'd need much that a log transformation couldn't offer.
Fiddling with multiple vertical axes and continuity breaks may help, but at an almost-guaranteed cost of making the graph very difficult to view and interpret correctly. If you need to show both periods, I would probably log transform.
You will know your needs far better than I do, but I do question a little bit how valuable seeing the before and after this way is. The revaluation was an arbitrary decision introduced at an arbitrary time, and behavior of the currency before the revaluation is probably not very informative of anything that happened afterwards (and vice-versa). It's far from clear to me that there is much value in showing both at once like this, at least from my naïve look at a single graph.
The main reason I can think of to show both at once this way is to display how extreme the inflation was, in which case the scale differences would be a feature and not a bug.
$endgroup$
$begingroup$
thank you for your answer and advice.
$endgroup$
– Peter Arsenault
Apr 11 at 13:52
add a comment |
$begingroup$
A log scale will make the difference before and after revaluation look less extreme, and a log transformation is usually pretty defensible for things measured in units of currency (especially when there are no 0-value entries). Other transformations exist, but since this is mostly for aesthetics I don't think that you'd need much that a log transformation couldn't offer.
Fiddling with multiple vertical axes and continuity breaks may help, but at an almost-guaranteed cost of making the graph very difficult to view and interpret correctly. If you need to show both periods, I would probably log transform.
You will know your needs far better than I do, but I do question a little bit how valuable seeing the before and after this way is. The revaluation was an arbitrary decision introduced at an arbitrary time, and behavior of the currency before the revaluation is probably not very informative of anything that happened afterwards (and vice-versa). It's far from clear to me that there is much value in showing both at once like this, at least from my naïve look at a single graph.
The main reason I can think of to show both at once this way is to display how extreme the inflation was, in which case the scale differences would be a feature and not a bug.
$endgroup$
$begingroup$
thank you for your answer and advice.
$endgroup$
– Peter Arsenault
Apr 11 at 13:52
add a comment |
$begingroup$
A log scale will make the difference before and after revaluation look less extreme, and a log transformation is usually pretty defensible for things measured in units of currency (especially when there are no 0-value entries). Other transformations exist, but since this is mostly for aesthetics I don't think that you'd need much that a log transformation couldn't offer.
Fiddling with multiple vertical axes and continuity breaks may help, but at an almost-guaranteed cost of making the graph very difficult to view and interpret correctly. If you need to show both periods, I would probably log transform.
You will know your needs far better than I do, but I do question a little bit how valuable seeing the before and after this way is. The revaluation was an arbitrary decision introduced at an arbitrary time, and behavior of the currency before the revaluation is probably not very informative of anything that happened afterwards (and vice-versa). It's far from clear to me that there is much value in showing both at once like this, at least from my naïve look at a single graph.
The main reason I can think of to show both at once this way is to display how extreme the inflation was, in which case the scale differences would be a feature and not a bug.
$endgroup$
A log scale will make the difference before and after revaluation look less extreme, and a log transformation is usually pretty defensible for things measured in units of currency (especially when there are no 0-value entries). Other transformations exist, but since this is mostly for aesthetics I don't think that you'd need much that a log transformation couldn't offer.
Fiddling with multiple vertical axes and continuity breaks may help, but at an almost-guaranteed cost of making the graph very difficult to view and interpret correctly. If you need to show both periods, I would probably log transform.
You will know your needs far better than I do, but I do question a little bit how valuable seeing the before and after this way is. The revaluation was an arbitrary decision introduced at an arbitrary time, and behavior of the currency before the revaluation is probably not very informative of anything that happened afterwards (and vice-versa). It's far from clear to me that there is much value in showing both at once like this, at least from my naïve look at a single graph.
The main reason I can think of to show both at once this way is to display how extreme the inflation was, in which case the scale differences would be a feature and not a bug.
answered Apr 9 at 20:38
Upper_CaseUpper_Case
1913
1913
$begingroup$
thank you for your answer and advice.
$endgroup$
– Peter Arsenault
Apr 11 at 13:52
add a comment |
$begingroup$
thank you for your answer and advice.
$endgroup$
– Peter Arsenault
Apr 11 at 13:52
$begingroup$
thank you for your answer and advice.
$endgroup$
– Peter Arsenault
Apr 11 at 13:52
$begingroup$
thank you for your answer and advice.
$endgroup$
– Peter Arsenault
Apr 11 at 13:52
add a comment |
Thanks for contributing an answer to Data Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48990%2fwhats-the-best-way-to-plot-a-bar-graph-with-large-numeric-difference-in-values%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Is it necessary to see the entire graph at once? Is it really meaningful to see comparisons between each side of the arbitrary revaluation? Does the data need to be directly, easily interpretable?
$endgroup$
– Upper_Case
Apr 9 at 20:12
$begingroup$
It would be nice. I've produced two individual graphs (before and after the revaluation). But if I wanted to view a graph like the image posted, could I view it in a different way, such as a Logarithmic scale? or to put an <...> in the y axis at some point to save space? Just wondering what others do in this situation.
$endgroup$
– Peter Arsenault
Apr 9 at 20:20
1
$begingroup$
I think you should use a log scale but if you are going to present this to someone, make sure you be emphatic about it!
$endgroup$
– Pedro Henrique Monforte
Apr 9 at 20:55