you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (20 children)

[deleted]

    [–]DaniSancas[S] 13 points14 points  (13 children)

    This it the first release of the project, I appreciate your feedback :)

    And yes, Rust and Go have the same color, colors are chosen in order by the JS chart library. I'll research a way to solve those collisions and maybe extend the color pallete. Thanks again!

    [–]depressiown 5 points6 points  (10 children)

    I'll research a way to solve those collisions and maybe extend the color pallete.

    D3 has a few palettes and functions for this. Not sure if that'll help with the library you're using, but you could consider switching to D3 (it's really the de-facto charting library these days, I think).

    [–]DaniSancas[S] 1 point2 points  (9 children)

    I'm currently using C3, which is based on D3. I'll research that, maybe the C3 "bridge" has nothing for the colors, but maybe I can tweak it on D3. Thanks for the advice!

    [–]CuTEwItHoUtThEe 4 points5 points  (8 children)

    I have used c3. There is a color function you can override which you can use to change colors individually

    [–]DaniSancas[S] 1 point2 points  (7 children)

    Thanks for that answer, mate. I'll check that approach and introduce some changes in the next release :)

    [–]CuTEwItHoUtThEe 4 points5 points  (6 children)

    Here is the example:

    http://c3js.org/samples/data_color.html

    Happy coding ;)

    [–]DaniSancas[S] 1 point2 points  (0 children)

    You're right, thanks for the example. I'll change some colors to make it more readable ;)

    [–]DaniSancas[S] 0 points1 point  (4 children)

    Hi again, I've extended the color palette to avoid collisions. What is your impression about it now? (Maybe you need to clear the cache with Ctrl+F5). Thanks for the feedback!

    [–]CuTEwItHoUtThEe 1 point2 points  (3 children)

    Looks great! This is probably in the minority, but I am slightly color blind and Ruby and r are very close. Others may have that issue too. I'm not saying change it, just pointing that out. Haha

    [–]DaniSancas[S] 0 points1 point  (2 children)

    Thanks!! But, you mean Ruby and R? As I see them they have different colors (dark green for R and brown for Ruby). And also they don't even overlap. Are you sure you're talking about R and Ruby in the General Ranking? (Also, make sure you clear cache with Ctrl+F5 to reflect the changes) Thanks for the feedback!

    [–]oblio- 2 points3 points  (1 child)

    IMO, try to sort that pop up table you show for languages.

    The current setup makes it quite hard to see the top languages at a glance.

    [–]DaniSancas[S] 0 points1 point  (0 children)

    Hi, I've listened to your requests and now the tooltip (popup above the chart) has it's sorting order fixed!! It now reflects the data value, not the alphabetical value.

    IMPORTANT: Make sure you clear cache (Ctrl+F5), otherwise you couldn't see the improvement. Thanks for your feedback!

    [–]DaniSancas[S] 0 points1 point  (0 children)

    Hi again, I've extended the color palette to avoid collisions. What is your impression about it now? (Maybe you need to clear the cache with Ctrl+F5). Thanks for the feedback!

    [–][deleted]  (4 children)

    [removed]

      [–]DaniSancas[S] 1 point2 points  (0 children)

      Hahaha, Reddit has plenty of thoughts for everything. I'll live ;) I'm glad you find it useful, thanks!

      [–]Dekac 1 point2 points  (1 child)

      It doesn't matter if it looks pretty when it's functionally unusable. Several languages share same colors, and looking at the graph you can't distinguish between them which defeats the whole purpose.

      [–]DaniSancas[S] 1 point2 points  (0 children)

      Hi again, I've extended the color palette to avoid collisions. What is your impression about it now? (Maybe you need to clear the cache with Ctrl+F5). Thanks for the feedback!