diff --git a/lib/music_library_web/components/chart_components.ex b/lib/music_library_web/components/chart_components.ex
index 1b8a4412..b6b9f8f3 100644
--- a/lib/music_library_web/components/chart_components.ex
+++ b/lib/music_library_web/components/chart_components.ex
@@ -41,27 +41,6 @@ defmodule MusicLibraryWeb.ChartComponents do
preserveAspectRatio="xMidYMid meet"
class="w-full h-full"
>
- <%!-- X-axis labels and lines --%>
- <%= for {value, x} <- x_axis_values(@max_value, @chart_width) do %>
-
- {value}
-
-
- <% end %>
-
<%!-- Bars and labels --%>
<%= for {datum, index} <- Enum.with_index(@data) do %>
<% bar_width = @chart_width * @value_fn.(datum) / @max_value %>
@@ -114,17 +93,6 @@ defmodule MusicLibraryWeb.ChartComponents do
max(20, max_height) |> trunc()
end
- defp x_axis_values(max_value, width) do
- step = max_value / 5
-
- 0..5
- |> Enum.map(fn i ->
- value = i * step
- x = i * width / 5
- {trunc(value), trunc(x)}
- end)
- end
-
defp truncate_label(label, max_length) when byte_size(label) > max_length do
String.slice(label, 0, max_length - 2) <> ".."
end